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/readme.md b/readme.md index 6ce69386d..aaf4440e3 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ # Spring Data Commons -[Spring Data Commons](http://projects.spring.io/spring-data/) is part of the umbrella Spring Data project that provides shared infrastructure across the Spring Data projects. It contains technology neutral repository interfaces as well as a metadata model for persisting Java classes. +[Spring Data Commons](https://projects.spring.io/spring-data/) is part of the umbrella Spring Data project that provides shared infrastructure across the Spring Data projects. It contains technology neutral repository interfaces as well as a metadata model for persisting Java classes. ## Features @@ -27,18 +27,18 @@ $ mvn clean install ## Getting Help -This README as well as the [reference documentation](http://docs.spring.io/spring-data/data-commons/docs/current/reference/html/) are the best places to start learning about Spring Data Commons. +This README as well as the [reference documentation](https://docs.spring.io/spring-data/data-commons/docs/current/reference/html/) are the best places to start learning about Spring Data Commons. -The main project [website](http://projects.spring.io/spring-data/) contains links to basic project information such as source code, JavaDocs, Issue tracking, etc. +The main project [website](https://projects.spring.io/spring-data/) contains links to basic project information such as source code, JavaDocs, Issue tracking, etc. -For more detailed questions, please refer to [spring-data on stackoverflow](http://stackoverflow.com/questions/tagged/spring-data). If you are new to Spring as well as to Spring Data, look for information about [Spring projects](https://spring.io/projects). +For more detailed questions, please refer to [spring-data on stackoverflow](https://stackoverflow.com/questions/tagged/spring-data). If you are new to Spring as well as to Spring Data, look for information about [Spring projects](https://spring.io/projects). ## Contributing to Spring Data Commons Here are some ways for you to get involved in the community: * Create [JIRA](https://jira.spring.io/browse/DATACMNS) tickets for bugs and new features and comment and vote on the ones that you are interested in. -* Github is for social coding: if you want to write code, we encourage contributions through pull requests from [forks of this repository](http://help.github.com/forking/). If you want to contribute code this way, please reference a JIRA ticket as well covering the specific issue you are addressing. +* Github is for social coding: if you want to write code, we encourage contributions through pull requests from [forks of this repository](https://help.github.com/forking/). If you want to contribute code this way, please reference a JIRA ticket as well covering the specific issue you are addressing. * Watch for upcoming articles on Spring by [subscribing](https://spring.io/blog.atom) to springframework.org Before we accept a non-trivial patch or pull request we will need you to [sign the Contributor License Agreement](https://cla.pivotal.io/sign/spring). Signing the contributor’s agreement does not grant anyone commit rights to the main repository, but it does mean that we can accept your contributions, and you will get an author credit if we do. If you forget to do so, you'll be reminded when you submit a pull request. Active contributors might be asked to join the core team, and given the ability to merge pull requests. 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 50b2bbc71..763b1bb1f 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]] @@ -147,9 +147,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"> @@ -455,7 +455,7 @@ NOTE: Limiting the results in combination with dynamic sorting by using a `Sort` [[repositories.collections-and-iterables]] === Repository Methods Returning Collections or Iterables Query methods that return multiple results can use standard Java `Iterable`, `List`, `Set`. -Beyond that we support returning Spring Data's `Streamable`, a custom extension of `Iterable`, as well as collection types provided by http://www.vavr.io/[Vavr]. +Beyond that we support returning Spring Data's `Streamable`, a custom extension of `Iterable`, as well as collection types provided by https://www.vavr.io/[Vavr]. [[repositories.collections-and-iterables.streamable]] ==== Using Streamable as Query Method Return Type @@ -520,7 +520,7 @@ interface ProductRepository implements Repository { [[repositories.collections-and-iterables.vavr]] ==== Support for Vavr Collections -http://www.vavr.io/[Vavr] is a library to embrace functional programming concepts in Java. +https://www.vavr.io/[Vavr] is a library to embrace functional programming concepts in Java. It ships with a custom set of collection types that can be used as query method return types. [options=header] @@ -695,9 +695,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"> @@ -1290,7 +1290,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 ==== @@ -1434,9 +1434,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"> @@ -1461,11 +1461,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 404010fb6..2d0a07035 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/ReactiveQuerydslPredicateExecutor.java b/src/main/java/org/springframework/data/querydsl/ReactiveQuerydslPredicateExecutor.java index 956c5fca4..442717046 100644 --- a/src/main/java/org/springframework/data/querydsl/ReactiveQuerydslPredicateExecutor.java +++ b/src/main/java/org/springframework/data/querydsl/ReactiveQuerydslPredicateExecutor.java @@ -26,7 +26,7 @@ import com.querydsl.core.types.Predicate; /** * Interface to issue queries using Querydsl {@link Predicate} instances.
* Intended for usage along with the {@link org.springframework.data.repository.reactive.ReactiveCrudRepository} - * interface to wire in Querydslsupport. + * interface to wire in Querydslsupport. * *
  *     
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 d8b44ade7..bdef482f7 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 b4ec63d12..3c25ef4cd 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/license.txt b/src/main/resources/license.txt
index 7584e2dfe..77b5d3c40 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..8e8f4332a 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/java/org/springframework/data/web/PagedResourcesAssemblerUnitTests.java b/src/test/java/org/springframework/data/web/PagedResourcesAssemblerUnitTests.java
index 90715e944..a95900b39 100755
--- a/src/test/java/org/springframework/data/web/PagedResourcesAssemblerUnitTests.java
+++ b/src/test/java/org/springframework/data/web/PagedResourcesAssemblerUnitTests.java
@@ -94,7 +94,7 @@ public class PagedResourcesAssemblerUnitTests {
 	@Test
 	public void usesBaseUriIfConfigured() {
 
-		UriComponents baseUri = UriComponentsBuilder.fromUriString("http://foo:9090").build();
+		UriComponents baseUri = UriComponentsBuilder.fromUriString("https://foo:9090").build();
 
 		PagedResourcesAssembler assembler = new PagedResourcesAssembler<>(resolver, baseUri);
 		PagedModel> resources = assembler.toModel(createPage(1));
@@ -107,7 +107,7 @@ public class PagedResourcesAssemblerUnitTests {
 	@Test
 	public void usesCustomLinkProvided() {
 
-		Link link = new Link("http://foo:9090", "rel");
+		Link link = new Link("https://foo:9090", "rel");
 
 		PagedModel> resources = assembler.toModel(createPage(1), link);