From af65e9a3f383066b02b6b499ac424ca396101e4e Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Mon, 24 Jun 2019 11:15:08 +0200 Subject: [PATCH] DATACMNS-1549 - Fixed noHTTPS errors. --- CODE_OF_CONDUCT.adoc | 2 +- src/main/asciidoc/images/epub-cover.svg | 2 +- src/main/asciidoc/preface.adoc | 2 +- src/main/asciidoc/repositories.adoc | 28 +++++++++---------- .../convert/ThreeTenBackPortConverters.java | 2 +- .../data/querydsl/package-info.java | 2 +- .../repository/query/parser/PartTree.java | 4 +-- .../data/web/XmlBeamHttpMessageConverter.java | 2 +- src/main/resources/META-INF/spring.schemas | 18 ++++++------ src/main/resources/license.txt | 2 +- .../springframework/data/domain/jaxb/atom.xsd | 4 +-- .../config/spring-repository-1.0.xsd | 2 +- .../config/spring-repository-1.11.xsd | 2 +- .../config/spring-repository-1.4.xsd | 2 +- .../config/spring-repository-1.5.xsd | 2 +- .../config/spring-repository-1.6.xsd | 2 +- .../config/spring-repository-1.7.xsd | 2 +- .../config/spring-repository-1.8.xsd | 2 +- .../config/spring-repository-2.1.xsd | 2 +- src/main/resources/readme.txt | 4 +-- .../data/repository/config/populators.xml | 6 ++-- .../data/web/config/manual.xml | 2 +- .../data/web/config/via-config-class.xml | 4 +-- 23 files changed, 50 insertions(+), 50 deletions(-) diff --git a/CODE_OF_CONDUCT.adoc b/CODE_OF_CONDUCT.adoc index f64fb1b7a..33ae7bc9f 100644 --- a/CODE_OF_CONDUCT.adoc +++ b/CODE_OF_CONDUCT.adoc @@ -24,4 +24,4 @@ Instances of abusive, harassing, or otherwise unacceptable behavior may be repor All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. Maintainers are obligated to maintain confidentiality with regard to the reporter of an incident. -This Code of Conduct is adapted from the http://contributor-covenant.org[Contributor Covenant], version 1.3.0, available at http://contributor-covenant.org/version/1/3/0/[contributor-covenant.org/version/1/3/0/]. \ No newline at end of file +This Code of Conduct is adapted from the https://contributor-covenant.org[Contributor Covenant], version 1.3.0, available at https://contributor-covenant.org/version/1/3/0/[contributor-covenant.org/version/1/3/0/]. \ No newline at end of file diff --git a/src/main/asciidoc/images/epub-cover.svg b/src/main/asciidoc/images/epub-cover.svg index 5f53f8a9c..55d811c8d 100644 --- a/src/main/asciidoc/images/epub-cover.svg +++ b/src/main/asciidoc/images/epub-cover.svg @@ -1,5 +1,5 @@ - + Spring Data Commons diff --git a/src/main/asciidoc/preface.adoc b/src/main/asciidoc/preface.adoc index 76eb5e607..65169402a 100644 --- a/src/main/asciidoc/preface.adoc +++ b/src/main/asciidoc/preface.adoc @@ -5,7 +5,7 @@ The Spring Data Commons project applies core Spring concepts to the development [[project]] == Project Metadata -* Version control: http://github.com/spring-projects/spring-data-commons +* Version control: https://github.com/spring-projects/spring-data-commons * Bugtracker: https://jira.spring.io/browse/DATACMNS * Release repository: https://repo.spring.io/libs-release * Milestone repository: https://repo.spring.io/libs-milestone diff --git a/src/main/asciidoc/repositories.adoc b/src/main/asciidoc/repositories.adoc index 7e61fcd4c..45b509ae4 100644 --- a/src/main/asciidoc/repositories.adoc +++ b/src/main/asciidoc/repositories.adoc @@ -1,4 +1,4 @@ -:spring-framework-docs: http://docs.spring.io/spring/docs/{springVersion}/spring-framework-reference +:spring-framework-docs: https://docs.spring.io/spring/docs/{springVersion}/spring-framework-reference :spring-framework-javadoc: https://docs.spring.io/spring/docs/{springVersion}/javadoc-api [[repositories]] @@ -149,9 +149,9 @@ class Config {} xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jpa="http://www.springframework.org/schema/data/jpa" xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans.xsd + https://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/data/jpa - http://www.springframework.org/schema/data/jpa/spring-jpa.xsd"> + https://www.springframework.org/schema/data/jpa/spring-jpa.xsd"> @@ -252,7 +252,7 @@ They provide a tooling-friendly approach and opt-in `null` checks during runtime (not needed on a parameter and return value where `@NonNullApi` applies). * {spring-framework-javadoc}/org/springframework/lang/Nullable.html[`@Nullable`]: Used on a parameter or return value that can be `null`. -Spring annotations are meta-annotated with https://jcp.org/en/jsr/detail?id=305[JSR 305] annotations (a dormant but widely spread JSR). JSR 305 meta-annotations let tooling vendors such as https://www.jetbrains.com/help/idea/nullable-and-notnull-annotations.html[IDEA], http://help.eclipse.org/oxygen/index.jsp?topic=/org.eclipse.jdt.doc.user/tasks/task-using_external_null_annotations.htm[Eclipse], and link:https://kotlinlang.org/docs/reference/java-interop.html#null-safety-and-platform-types[Kotlin] provide null-safety support in a generic way, without having to hard-code support for Spring annotations. +Spring annotations are meta-annotated with https://jcp.org/en/jsr/detail?id=305[JSR 305] annotations (a dormant but widely spread JSR). JSR 305 meta-annotations let tooling vendors such as https://www.jetbrains.com/help/idea/nullable-and-notnull-annotations.html[IDEA], https://help.eclipse.org/oxygen/index.jsp?topic=/org.eclipse.jdt.doc.user/tasks/task-using_external_null_annotations.htm[Eclipse], and link:https://kotlinlang.org/docs/reference/java-interop.html#null-safety-and-platform-types[Kotlin] provide null-safety support in a generic way, without having to hard-code support for Spring annotations. To enable runtime checking of nullability constraints for query methods, you need to activate non-nullability on the package level by using Spring’s `@NonNullApi` in `package-info.java`, as shown in the following example: .Declaring Non-nullability in `package-info.java` @@ -640,9 +640,9 @@ Each Spring Data module includes a `repositories` element that lets you define a xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springframework.org/schema/data/jpa" xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans.xsd + https://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/data/jpa - http://www.springframework.org/schema/data/jpa/spring-jpa.xsd"> + https://www.springframework.org/schema/data/jpa/spring-jpa.xsd"> @@ -1005,7 +1005,7 @@ This section documents a set of Spring Data extensions that enable Spring Data u [[core.extensions.querydsl]] === Querydsl Extension -http://www.querydsl.com/[Querydsl] is a framework that enables the construction of statically typed SQL-like queries through its fluent API. +https://www.querydsl.com/[Querydsl] is a framework that enables the construction of statically typed SQL-like queries through its fluent API. Several Spring Data modules offer integration with Querydsl through `QuerydslPredicateExecutor`, as shown in the following example: @@ -1235,7 +1235,7 @@ You see that the assembler produced the correct URI and also picked up the defau [[core.web.binding]] ==== Web Databinding Support -Spring Data projections (described in <>) can be used to bind incoming request payloads by either using http://goessner.net/articles/JsonPath/[JSONPath] expressions (requires https://github.com/json-path/JsonPath[Jayway JsonPath] or https://www.w3.org/TR/xpath-31/[XPath] expressions (requires https://xmlbeam.org/[XmlBeam]), as shown in the following example: +Spring Data projections (described in <>) can be used to bind incoming request payloads by either using https://goessner.net/articles/JsonPath/[JSONPath] expressions (requires https://github.com/json-path/JsonPath[Jayway JsonPath] or https://www.w3.org/TR/xpath-31/[XPath] expressions (requires https://xmlbeam.org/[XmlBeam]), as shown in the following example: .HTTP payload binding using JSONPath or XPath expressions ==== @@ -1272,7 +1272,7 @@ For more information, see the https://github.com/spring-projects/spring-data-exa [[core.web.type-safe]] ==== Querydsl Web Support -For those stores having http://www.querydsl.com/[QueryDSL] integration, it is possible to derive queries from the attributes contained in a `Request` query string. +For those stores having https://www.querydsl.com/[QueryDSL] integration, it is possible to derive queries from the attributes contained in a `Request` query string. Consider the following query string: @@ -1379,9 +1379,9 @@ You can populate your repositories by using the populator elements of the reposi xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:repository="http://www.springframework.org/schema/data/repository" xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans.xsd + https://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/data/repository - http://www.springframework.org/schema/data/repository/spring-repository.xsd"> + https://www.springframework.org/schema/data/repository/spring-repository.xsd"> @@ -1406,11 +1406,11 @@ To instead use XML to define the data the repositories should be populated with, xmlns:repository="http://www.springframework.org/schema/data/repository" xmlns:oxm="http://www.springframework.org/schema/oxm" xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans.xsd + https://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/data/repository - http://www.springframework.org/schema/data/repository/spring-repository.xsd + https://www.springframework.org/schema/data/repository/spring-repository.xsd http://www.springframework.org/schema/oxm - http://www.springframework.org/schema/oxm/spring-oxm.xsd"> + https://www.springframework.org/schema/oxm/spring-oxm.xsd"> diff --git a/src/main/java/org/springframework/data/convert/ThreeTenBackPortConverters.java b/src/main/java/org/springframework/data/convert/ThreeTenBackPortConverters.java index 5b38ec7a8..bf753593a 100644 --- a/src/main/java/org/springframework/data/convert/ThreeTenBackPortConverters.java +++ b/src/main/java/org/springframework/data/convert/ThreeTenBackPortConverters.java @@ -46,7 +46,7 @@ import org.threeten.bp.ZoneOffset; * @author Christoph Strobl * @author Jens Schauder * @author Mark Paluch - * @see http://www.threeten.org/threetenbp + * @see https://www.threeten.org/threetenbp * @since 1.10 */ public abstract class ThreeTenBackPortConverters { diff --git a/src/main/java/org/springframework/data/querydsl/package-info.java b/src/main/java/org/springframework/data/querydsl/package-info.java index 308315177..f14b4a845 100644 --- a/src/main/java/org/springframework/data/querydsl/package-info.java +++ b/src/main/java/org/springframework/data/querydsl/package-info.java @@ -1,7 +1,7 @@ /** * Querydsl integration support classes. * - * @see http://www.querydsl.com + * @see https://www.querydsl.com */ @org.springframework.lang.NonNullApi package org.springframework.data.querydsl; diff --git a/src/main/java/org/springframework/data/repository/query/parser/PartTree.java b/src/main/java/org/springframework/data/repository/query/parser/PartTree.java index e065a83c2..0038874c1 100644 --- a/src/main/java/org/springframework/data/repository/query/parser/PartTree.java +++ b/src/main/java/org/springframework/data/repository/query/parser/PartTree.java @@ -53,8 +53,8 @@ public class PartTree implements Streamable { * OR * any other letter NOT in the BASIC_LATIN Uni-code Block \\P{InBASIC_LATIN} (like Chinese, Korean, Japanese, etc.). * - * @see http://www.regular-expressions.info/unicode.html - * @see Pattern + * @see https://www.regular-expressions.info/unicode.html + * @see Pattern */ private static final String KEYWORD_TEMPLATE = "(%s)(?=(\\p{Lu}|\\P{InBASIC_LATIN}))"; private static final String QUERY_PATTERN = "find|read|get|query|stream"; diff --git a/src/main/java/org/springframework/data/web/XmlBeamHttpMessageConverter.java b/src/main/java/org/springframework/data/web/XmlBeamHttpMessageConverter.java index b3738308d..d05be8609 100644 --- a/src/main/java/org/springframework/data/web/XmlBeamHttpMessageConverter.java +++ b/src/main/java/org/springframework/data/web/XmlBeamHttpMessageConverter.java @@ -41,7 +41,7 @@ import org.xmlbeam.config.DefaultXMLFactoriesConfig; * * @author Oliver Gierke * @author Christoph Strobl - * @see http://www.xmlbeam.org + * @see https://www.xmlbeam.org * @soundtrack Dr. Kobayashi Maru & The Mothership Connection - Anthem (EPisode One) */ public class XmlBeamHttpMessageConverter extends AbstractHttpMessageConverter { diff --git a/src/main/resources/META-INF/spring.schemas b/src/main/resources/META-INF/spring.schemas index 85e312e67..2a93002a1 100644 --- a/src/main/resources/META-INF/spring.schemas +++ b/src/main/resources/META-INF/spring.schemas @@ -1,9 +1,9 @@ -http\://www.springframework.org/schema/data/repository/spring-repository-1.0.xsd=org/springframework/data/repository/config/spring-repository-1.0.xsd -http\://www.springframework.org/schema/data/repository/spring-repository-1.4.xsd=org/springframework/data/repository/config/spring-repository-1.4.xsd -http\://www.springframework.org/schema/data/repository/spring-repository-1.5.xsd=org/springframework/data/repository/config/spring-repository-1.5.xsd -http\://www.springframework.org/schema/data/repository/spring-repository-1.6.xsd=org/springframework/data/repository/config/spring-repository-1.6.xsd -http\://www.springframework.org/schema/data/repository/spring-repository-1.7.xsd=org/springframework/data/repository/config/spring-repository-1.7.xsd -http\://www.springframework.org/schema/data/repository/spring-repository-1.8.xsd=org/springframework/data/repository/config/spring-repository-1.8.xsd -http\://www.springframework.org/schema/data/repository/spring-repository-1.11.xsd=org/springframework/data/repository/config/spring-repository-1.11.xsd -http\://www.springframework.org/schema/data/repository/spring-repository-2.1.xsd=org/springframework/data/repository/config/spring-repository-2.1.xsd -http\://www.springframework.org/schema/data/repository/spring-repository.xsd=org/springframework/data/repository/config/spring-repository-2.1.xsd +https\://www.springframework.org/schema/data/repository/spring-repository-1.0.xsd=org/springframework/data/repository/config/spring-repository-1.0.xsd +https\://www.springframework.org/schema/data/repository/spring-repository-1.4.xsd=org/springframework/data/repository/config/spring-repository-1.4.xsd +https\://www.springframework.org/schema/data/repository/spring-repository-1.5.xsd=org/springframework/data/repository/config/spring-repository-1.5.xsd +https\://www.springframework.org/schema/data/repository/spring-repository-1.6.xsd=org/springframework/data/repository/config/spring-repository-1.6.xsd +https\://www.springframework.org/schema/data/repository/spring-repository-1.7.xsd=org/springframework/data/repository/config/spring-repository-1.7.xsd +https\://www.springframework.org/schema/data/repository/spring-repository-1.8.xsd=org/springframework/data/repository/config/spring-repository-1.8.xsd +https\://www.springframework.org/schema/data/repository/spring-repository-1.11.xsd=org/springframework/data/repository/config/spring-repository-1.11.xsd +https\://www.springframework.org/schema/data/repository/spring-repository-2.1.xsd=org/springframework/data/repository/config/spring-repository-2.1.xsd +https\://www.springframework.org/schema/data/repository/spring-repository.xsd=org/springframework/data/repository/config/spring-repository-2.1.xsd diff --git a/src/main/resources/license.txt b/src/main/resources/license.txt index 682d127ac..964a55d1c 100644 --- a/src/main/resources/license.txt +++ b/src/main/resources/license.txt @@ -207,7 +207,7 @@ similar licenses that require the source code and/or modifications to source code to be made available (as would be noted above), you may obtain a copy of the source code corresponding to the binaries for such open source components and modifications thereto, if any, (the "Source Files"), by -downloading the Source Files from http://www.springsource.org/download, +downloading the Source Files from https://www.springsource.org/download, or by sending a request, with your name and address to: VMware, Inc., 3401 Hillview Avenue, Palo Alto, CA 94304, United States of America or email info@vmware.com. All such requests should clearly specify: OPEN SOURCE FILES REQUEST, Attention General diff --git a/src/main/resources/org/springframework/data/domain/jaxb/atom.xsd b/src/main/resources/org/springframework/data/domain/jaxb/atom.xsd index 1a904830b..8b7bfbc25 100644 --- a/src/main/resources/org/springframework/data/domain/jaxb/atom.xsd +++ b/src/main/resources/org/springframework/data/domain/jaxb/atom.xsd @@ -5,10 +5,10 @@ This version of the Atom schema is based on version 1.0 of the format specifications, - found here http://www.atomenabled.org/developers/syndication/atom-format-spec.php. + found here https://www.atomenabled.org/developers/syndication/atom-format-spec.php. - + An Atom document may have two root elements, feed and entry, as defined in section 2. diff --git a/src/main/resources/org/springframework/data/repository/config/spring-repository-1.0.xsd b/src/main/resources/org/springframework/data/repository/config/spring-repository-1.0.xsd index be43b8235..fb225225a 100644 --- a/src/main/resources/org/springframework/data/repository/config/spring-repository-1.0.xsd +++ b/src/main/resources/org/springframework/data/repository/config/spring-repository-1.0.xsd @@ -8,7 +8,7 @@ + schemaLocation="https://www.springframework.org/schema/context/spring-context.xsd" /> diff --git a/src/main/resources/org/springframework/data/repository/config/spring-repository-1.11.xsd b/src/main/resources/org/springframework/data/repository/config/spring-repository-1.11.xsd index da183f7c9..e9b034d9e 100644 --- a/src/main/resources/org/springframework/data/repository/config/spring-repository-1.11.xsd +++ b/src/main/resources/org/springframework/data/repository/config/spring-repository-1.11.xsd @@ -8,7 +8,7 @@ + schemaLocation="https://www.springframework.org/schema/context/spring-context.xsd" /> diff --git a/src/main/resources/org/springframework/data/repository/config/spring-repository-1.4.xsd b/src/main/resources/org/springframework/data/repository/config/spring-repository-1.4.xsd index d0d72a588..38bc6037b 100644 --- a/src/main/resources/org/springframework/data/repository/config/spring-repository-1.4.xsd +++ b/src/main/resources/org/springframework/data/repository/config/spring-repository-1.4.xsd @@ -8,7 +8,7 @@ + schemaLocation="https://www.springframework.org/schema/context/spring-context.xsd" /> diff --git a/src/main/resources/org/springframework/data/repository/config/spring-repository-1.5.xsd b/src/main/resources/org/springframework/data/repository/config/spring-repository-1.5.xsd index ba727cff1..f00977d9e 100644 --- a/src/main/resources/org/springframework/data/repository/config/spring-repository-1.5.xsd +++ b/src/main/resources/org/springframework/data/repository/config/spring-repository-1.5.xsd @@ -8,7 +8,7 @@ + schemaLocation="https://www.springframework.org/schema/context/spring-context.xsd" /> diff --git a/src/main/resources/org/springframework/data/repository/config/spring-repository-1.6.xsd b/src/main/resources/org/springframework/data/repository/config/spring-repository-1.6.xsd index b8512c445..3e357dc34 100644 --- a/src/main/resources/org/springframework/data/repository/config/spring-repository-1.6.xsd +++ b/src/main/resources/org/springframework/data/repository/config/spring-repository-1.6.xsd @@ -8,7 +8,7 @@ + schemaLocation="https://www.springframework.org/schema/context/spring-context.xsd" /> diff --git a/src/main/resources/org/springframework/data/repository/config/spring-repository-1.7.xsd b/src/main/resources/org/springframework/data/repository/config/spring-repository-1.7.xsd index b3d0b184c..b7f735b0b 100644 --- a/src/main/resources/org/springframework/data/repository/config/spring-repository-1.7.xsd +++ b/src/main/resources/org/springframework/data/repository/config/spring-repository-1.7.xsd @@ -8,7 +8,7 @@ + schemaLocation="https://www.springframework.org/schema/context/spring-context.xsd" /> diff --git a/src/main/resources/org/springframework/data/repository/config/spring-repository-1.8.xsd b/src/main/resources/org/springframework/data/repository/config/spring-repository-1.8.xsd index 9dfa0cdc0..e465b517b 100644 --- a/src/main/resources/org/springframework/data/repository/config/spring-repository-1.8.xsd +++ b/src/main/resources/org/springframework/data/repository/config/spring-repository-1.8.xsd @@ -8,7 +8,7 @@ + schemaLocation="https://www.springframework.org/schema/context/spring-context.xsd" /> diff --git a/src/main/resources/org/springframework/data/repository/config/spring-repository-2.1.xsd b/src/main/resources/org/springframework/data/repository/config/spring-repository-2.1.xsd index ac27cee32..9f7614370 100644 --- a/src/main/resources/org/springframework/data/repository/config/spring-repository-2.1.xsd +++ b/src/main/resources/org/springframework/data/repository/config/spring-repository-2.1.xsd @@ -8,7 +8,7 @@ + schemaLocation="https://www.springframework.org/schema/context/spring-context.xsd" /> diff --git a/src/main/resources/readme.txt b/src/main/resources/readme.txt index e13d7dc38..ee569d303 100644 --- a/src/main/resources/readme.txt +++ b/src/main/resources/readme.txt @@ -10,5 +10,5 @@ The reference manual and javadoc are located in the 'docs' directory. ADDITIONAL RESOURCES: -Spring Data Homepage: http://projects.spring.io/spring-data -Spring Data on Stackoverflow: http://stackoverflow.com/questions/tagged/spring-data +Spring Data Homepage: https://projects.spring.io/spring-data +Spring Data on Stackoverflow: https://stackoverflow.com/questions/tagged/spring-data diff --git a/src/test/resources/org/springframework/data/repository/config/populators.xml b/src/test/resources/org/springframework/data/repository/config/populators.xml index 8f35d5cd6..19edc8ad5 100644 --- a/src/test/resources/org/springframework/data/repository/config/populators.xml +++ b/src/test/resources/org/springframework/data/repository/config/populators.xml @@ -2,9 +2,9 @@ + xsi:schemaLocation="http://www.springframework.org/schema/oxm https://www.springframework.org/schema/oxm/spring-oxm.xsd + http://www.springframework.org/schema/data/repository https://www.springframework.org/schema/data/repository/spring-repository.xsd + http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd"> diff --git a/src/test/resources/org/springframework/data/web/config/manual.xml b/src/test/resources/org/springframework/data/web/config/manual.xml index 32b09e546..876d52a87 100644 --- a/src/test/resources/org/springframework/data/web/config/manual.xml +++ b/src/test/resources/org/springframework/data/web/config/manual.xml @@ -1,7 +1,7 @@ + xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd"> diff --git a/src/test/resources/org/springframework/data/web/config/via-config-class.xml b/src/test/resources/org/springframework/data/web/config/via-config-class.xml index 8384e7dc4..b05f9a02c 100644 --- a/src/test/resources/org/springframework/data/web/config/via-config-class.xml +++ b/src/test/resources/org/springframework/data/web/config/via-config-class.xml @@ -2,8 +2,8 @@ + xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd + http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd">