From 9350acb78cfbe51388327a9922d74fee9251f528 Mon Sep 17 00:00:00 2001 From: Greg Turnquist Date: Tue, 18 Dec 2018 17:26:42 -0600 Subject: [PATCH 1/5] #775 - Overhaul VndErrors to match spec. Handles: * single item error * multiple errors * nested errors See https://github.com/blongden/vnd.error for details on the vnd.error spec. --- .../springframework/hateoas/MediaTypes.java | 10 + .../springframework/hateoas/VndErrors.java | 261 +++++++----------- .../hateoas/VndErrorsMarshallingTest.java | 141 +++++++--- .../hateoas/VndErrorsUnitTest.java | 57 +++- src/test/resources/vnderror-single-item.json | 16 ++ src/test/resources/vnderror.json | 34 --- src/test/resources/vnderror2.json | 34 --- .../resources/vnderrors-multiple-item.json | 22 ++ src/test/resources/vnderrors-nested.json | 27 ++ 9 files changed, 334 insertions(+), 268 deletions(-) create mode 100644 src/test/resources/vnderror-single-item.json delete mode 100644 src/test/resources/vnderror.json delete mode 100644 src/test/resources/vnderror2.json create mode 100644 src/test/resources/vnderrors-multiple-item.json create mode 100644 src/test/resources/vnderrors-nested.json diff --git a/src/main/java/org/springframework/hateoas/MediaTypes.java b/src/main/java/org/springframework/hateoas/MediaTypes.java index 37bb29946..5d0195d8f 100644 --- a/src/main/java/org/springframework/hateoas/MediaTypes.java +++ b/src/main/java/org/springframework/hateoas/MediaTypes.java @@ -76,4 +76,14 @@ public class MediaTypes { * Public constant media type for {@code application/vnd.collection+json}. */ public static final MediaType COLLECTION_JSON = MediaType.valueOf(COLLECTION_JSON_VALUE); + + /** + * A stringl equivalent of {@link MediaTypes#VND_ERROR_JSON}. + */ + public static final String VND_ERROR_JSON_VALUE = "application/vnd.error+json"; + + /** + * Public constant media type for {@code application/vnd.error+json}. + */ + public static final MediaType VND_ERROR_JSON = MediaType.valueOf(VND_ERROR_JSON_VALUE); } diff --git a/src/main/java/org/springframework/hateoas/VndErrors.java b/src/main/java/org/springframework/hateoas/VndErrors.java index c2996e72d..6fd153d55 100644 --- a/src/main/java/org/springframework/hateoas/VndErrors.java +++ b/src/main/java/org/springframework/hateoas/VndErrors.java @@ -15,55 +15,50 @@ */ package org.springframework.hateoas; +import lombok.EqualsAndHashCode; +import lombok.Getter; +import lombok.ToString; + import java.util.ArrayList; import java.util.Arrays; -import java.util.Iterator; +import java.util.Collection; import java.util.List; +import org.springframework.hateoas.core.Relation; import org.springframework.util.Assert; -import org.springframework.util.StringUtils; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; /** - * A representation model class to be rendered as specified for the media type {@code application/vnd.error}. + * A representation model class to be rendered as specified for the media type {@code application/vnd.error+json}. * * @see https://github.com/blongden/vnd.error * @author Oliver Gierke * @author Greg Turnquist */ -public class VndErrors implements Iterable { +@JsonPropertyOrder({"message", "logref", "total", "_links", "_embedded"}) +@JsonIgnoreProperties(ignoreUnknown = true) +@EqualsAndHashCode +@ToString +public class VndErrors extends Resources { - private final List vndErrors; + public static final String REL_HELP = "help"; + public static final String REL_DESCRIBES = "describes"; + public static final String REL_ABOUT = "about"; - /** - * Creates a new {@link VndErrors} instance containing a single {@link VndError} with the given logref, message and - * optional {@link Link}s. - * - * @param logref must not be {@literal null} or empty. - * @param message must not be {@literal null} or empty. - * @param links - */ - public VndErrors(String logref, String message, Link... links) { - this(new VndError(logref, message, links)); - } + private final List errors; - /** - * Creates a new {@link VndErrors} wrapper for at least one {@link VndError}. - * - * @param errors must not be {@literal null}. - * @param errors - */ - public VndErrors(VndError error, VndError... errors) { + @Getter + @JsonInclude(value = JsonInclude.Include.NON_EMPTY) + private final String message; - Assert.notNull(error, "Error must not be null"); - - this.vndErrors = new ArrayList(errors.length + 1); - this.vndErrors.add(error); - this.vndErrors.addAll(Arrays.asList(errors)); - } + @Getter + @JsonInclude(value = JsonInclude.Include.NON_EMPTY) + private final Integer logref; /** * Creates a new {@link VndErrors} wrapper for the given {@link VndErrors}. @@ -71,183 +66,127 @@ public VndErrors(VndError error, VndError... errors) { * @param errors must not be {@literal null} or empty. */ @JsonCreator - public VndErrors(List errors) { + public VndErrors(@JsonProperty("_embedded") List errors, @JsonProperty("message") String message, + @JsonProperty("logref") Integer logref, @JsonProperty("_links") List links) { Assert.notNull(errors, "Errors must not be null!"); - Assert.isTrue(!errors.isEmpty(), "Errors must not be empty!"); - this.vndErrors = errors; + Assert.notEmpty(errors, "Errors must not be empty!"); + + this.errors = errors; + this.message = message; + this.logref = logref; + if (links != null && !links.isEmpty()) { + add(links); + } } - /** - * Protected default constructor to allow JAXB marshalling. - */ - protected VndErrors() { - this.vndErrors = new ArrayList(); + public VndErrors() { + + this.errors = new ArrayList<>(); + this.message = null; + this.logref = null; } - /** - * Adds an additional {@link VndError} to the wrapper. - * - * @param error - */ - public VndErrors add(VndError error) { - this.vndErrors.add(error); - return this; + public VndErrors withMessage(String message) { + return new VndErrors(this.errors, message, this.logref, this.getLinks()); } - /** - * Dummy method to allow {@link JsonValue} to be configured. - * - * @return the vndErrors - */ - @JsonValue - private List getErrors() { - return vndErrors; + public VndErrors withLogref(Integer logref) { + return new VndErrors(this.errors, this.message, logref, this.getLinks()); } - /* - * (non-Javadoc) - * @see java.lang.Iterable#iterator() - */ - @Override - public Iterator iterator() { - return this.vndErrors.iterator(); + public VndErrors withErrors(List errors) { + + Assert.notNull(errors, "errors must not be null!"); + Assert.notEmpty(errors, "errors must not empty!"); + + return new VndErrors(errors, this.message, this.logref, this.getLinks()); } - /* - * (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return String.format("VndErrors[%s]", StringUtils.collectionToCommaDelimitedString(vndErrors)); + public VndErrors withError(VndError error) { + + this.errors.add(error); + return new VndErrors(this.errors, this.message, this.logref, this.getLinks()); } - /* - * (non-Javadoc) - * @see java.lang.Object#hashCode() - */ - @Override - public int hashCode() { - return vndErrors.hashCode(); + public VndErrors withLink(Link link) { + + add(link); + return new VndErrors(this.errors, this.message, this.logref, this.getLinks()); } - /* - * (non-Javadoc) - * @see java.lang.Object#equals(java.lang.Object) + /** + * Returns the underlying elements. + * + * @return the content will never be {@literal null}. */ @Override - public boolean equals(Object obj) { - - if (this == obj) { - return true; - } - - if (!(obj instanceof VndErrors)) { - return false; - } + public Collection getContent() { + return this.errors; + } - VndErrors that = (VndErrors) obj; - return this.vndErrors.equals(that.vndErrors); + /** + * Virtual attribute to generate JSON field of {@literal total}. + */ + public int getTotal() { + return this.errors.size(); } /** * A single {@link VndError}. * * @author Oliver Gierke + * @author Greg Turnquist */ + @JsonPropertyOrder({"message", "path", "logref"}) + @Relation(collectionRelation = "errors") + @EqualsAndHashCode public static class VndError extends ResourceSupport { - @JsonProperty private final String logref; - @JsonProperty private final String message; + @Getter + private final String message; + + @Getter + @JsonInclude(value = JsonInclude.Include.NON_EMPTY) + private final String path; + + @Getter + @JsonInclude(value = JsonInclude.Include.NON_EMPTY) + private final Integer logref; /** - * Creates a new {@link VndError} with the given logref, a message as well as some {@link Link}s. + * Creates a new {@link VndError} with a message and optional a path and a logref. * - * @param logref must not be {@literal null} or empty. * @param message must not be {@literal null} or empty. - * @param links */ - public VndError(String logref, String message, Link... links) { + @JsonCreator + public VndError(@JsonProperty("message") String message, @JsonProperty("path") String path, + @JsonProperty("logref") Integer logref, @JsonProperty("_links") List links) { - Assert.hasText(logref, "Logref must not be null or empty!"); Assert.hasText(message, "Message must not be null or empty!"); - this.logref = logref; this.message = message; - this.add(Arrays.asList(links)); - } - - /** - * Protected default constructor to allow JAXB marshalling. - */ - protected VndError() { - - this.logref = null; - this.message = null; - } + this.path = path; + this.logref = logref; - /** - * Returns the logref of the error. - * - * @return the logref - */ - public String getLogref() { - return logref; + this.add(links); } /** - * Returns the message of the error. - * - * @return the message + * Convenience constructor */ - public String getMessage() { - return message; + public VndError(String message, String path, Integer logref, Link... links) { + this(message, path, logref, Arrays.asList(links)); } - /* - * (non-Javadoc) - * @see org.springframework.hateoas.ResourceSupport#toString() - */ @Override public String toString() { - return String.format("VndError[logref: %s, message: %s, links: [%s]]", logref, message, - StringUtils.collectionToCommaDelimitedString(getLinks())); - } - - /* - * (non-Javadoc) - * @see org.springframework.hateoas.ResourceSupport#hashCode() - */ - @Override - public int hashCode() { - - int result = 17; - - result += 31 * logref.hashCode(); - result += 31 * message.hashCode(); - - return result; - } - - /* - * (non-Javadoc) - * @see org.springframework.hateoas.ResourceSupport#equals(java.lang.Object) - */ - @Override - public boolean equals(Object obj) { - - if (obj == this) { - return true; - } - - if (!(obj instanceof VndError)) { - return false; - } - - VndError that = (VndError) obj; - - return this.logref.equals(that.logref) && this.message.equals(that.message); + return "VndError{" + + "message='" + message + '\'' + + ", path='" + path + '\'' + + ", logref=" + logref + + ", links=" + getLinks() + + '}'; } } } diff --git a/src/test/java/org/springframework/hateoas/VndErrorsMarshallingTest.java b/src/test/java/org/springframework/hateoas/VndErrorsMarshallingTest.java index e40569c85..0d233f631 100755 --- a/src/test/java/org/springframework/hateoas/VndErrorsMarshallingTest.java +++ b/src/test/java/org/springframework/hateoas/VndErrorsMarshallingTest.java @@ -16,18 +16,15 @@ package org.springframework.hateoas; import static org.assertj.core.api.Assertions.*; +import static org.springframework.hateoas.support.MappingUtils.*; -import java.io.FileInputStream; import java.io.IOException; -import java.nio.MappedByteBuffer; -import java.nio.channels.FileChannel; -import java.nio.charset.Charset; import org.junit.Before; import org.junit.Test; import org.springframework.core.io.ClassPathResource; import org.springframework.hateoas.VndErrors.VndError; -import org.springframework.hateoas.core.EvoInflectorRelProvider; +import org.springframework.hateoas.core.AnnotationRelProvider; import org.springframework.hateoas.hal.Jackson2HalModule; import com.fasterxml.jackson.databind.ObjectMapper; @@ -41,55 +38,131 @@ */ public class VndErrorsMarshallingTest { - ObjectMapper jackson2Mapper; + ObjectMapper mapper; - RelProvider relProvider = new EvoInflectorRelProvider(); + @Before + public void setUp() { + + RelProvider relProvider = new AnnotationRelProvider(); + + mapper = new com.fasterxml.jackson.databind.ObjectMapper(); + mapper.registerModule(new Jackson2HalModule()); + mapper.setHandlerInstantiator(new Jackson2HalModule.HalHandlerInstantiator(relProvider, null, null)); + mapper.configure(SerializationFeature.INDENT_OUTPUT, true); + } + + /** + * @see #93, #94, #775 + */ + @Test + public void singleItemVndErrorShouldDeserialize() throws IOException { - VndErrors errors; - String jsonReference; - String json2Reference; + String json = read(new ClassPathResource("vnderror-single-item.json")); - public VndErrorsMarshallingTest() throws IOException { + VndError error = new VndError("Validation failed", "/username", 42, // + new Link("http://path.to/user/resource/1", VndErrors.REL_ABOUT), + new Link("http://path.to/describes", VndErrors.REL_DESCRIBES), + new Link("http://path.to/help", VndErrors.REL_HELP)); - jsonReference = readFile(new ClassPathResource("vnderror.json")); - json2Reference = readFile(new ClassPathResource("vnderror2.json")); + assertThat(mapper.readValue(json, VndError.class)).isEqualTo(error); } - @Before - public void setUp() throws Exception { + /** + * @see #62, #775 + */ + @Test + public void singleItemVndErrorShouldSerialize() throws IOException { - jackson2Mapper = new com.fasterxml.jackson.databind.ObjectMapper(); - jackson2Mapper.registerModule(new Jackson2HalModule()); - jackson2Mapper.setHandlerInstantiator(new Jackson2HalModule.HalHandlerInstantiator(relProvider, null, null)); - jackson2Mapper.configure(SerializationFeature.INDENT_OUTPUT, true); + VndError error = new VndError("Validation failed", "/username", 42, // + new Link("http://path.to/user/resource/1", VndErrors.REL_ABOUT), + new Link("http://path.to/describes", VndErrors.REL_DESCRIBES), + new Link("http://path.to/help", VndErrors.REL_HELP)); + + String json = read(new ClassPathResource("vnderror-single-item.json")); + + assertThat(mapper.writeValueAsString(error)).isEqualTo(json); - VndError error = new VndError("42", "Validation failed!", // - new Link("http://...", "describes"), new Link("http://...", "help")); - errors = new VndErrors(error, error, error); } /** - * @see #62 + * @see #775 */ @Test - public void jackson2Marshalling() throws Exception { - assertThat(jackson2Mapper.writeValueAsString(errors)).isEqualToIgnoringWhitespace(json2Reference); + public void multipleItemVndErrorsShouldDeserialize() throws IOException { + + String json = read(new ClassPathResource("vnderrors-multiple-item.json")); + + VndError error1 = new VndError("\"username\" field validation failed", null, 50, // + new Link("http://.../", VndErrors.REL_HELP)); + + VndError error2 = new VndError("\"postcode\" field validation failed", null, 55, // + new Link("http://.../", VndErrors.REL_HELP)); + + VndErrors vndErrors = new VndErrors().withError(error1).withError(error2); + + assertThat(mapper.readValue(json, VndErrors.class)).isEqualTo(vndErrors); } /** - * @see #93, #94 + * @see #775 */ @Test - public void jackson2UnMarshalling() throws Exception { - assertThat(jackson2Mapper.readValue(jsonReference, VndErrors.class)).isEqualTo(errors); + public void multipleItemVndErrorsShouldSerialize() throws IOException { + + VndError error1 = new VndError("\"username\" field validation failed", null, 50, // + new Link("http://.../", VndErrors.REL_HELP)); + + VndError error2 = new VndError("\"postcode\" field validation failed", null, 55, // + new Link("http://.../", VndErrors.REL_HELP)); + + VndErrors vndErrors = new VndErrors().withError(error1).withError(error2); + + String json = read(new ClassPathResource("vnderrors-multiple-item.json")); + + assertThat(mapper.writeValueAsString(vndErrors)).isEqualTo(json); + } + + /** + * @see #775 + */ + @Test + public void nestedVndErrorsShouldDeserialize() throws IOException { + + String json = read(new ClassPathResource("vnderrors-nested.json")); + + VndError error = new VndError("Username must contain at least three characters", "/username", null, // + new Link("http://path.to/user/resource/1", VndErrors.REL_ABOUT)); + + VndErrors vndErrors = new VndErrors() + .withError(error) + .withLink(new Link("http://path.to/describes").withRel(VndErrors.REL_DESCRIBES)) + .withLink(new Link("http://path.to/help").withRel(VndErrors.REL_HELP)) + .withLink(new Link("http://path.to/user/resource/1").withRel(VndErrors.REL_ABOUT)) + .withMessage("Validation failed") + .withLogref(42); + + assertThat(mapper.readValue(json, VndErrors.class)).isEqualTo(vndErrors); } - private static String readFile(org.springframework.core.io.Resource resource) throws IOException { + /** + * @see #775 + */ + @Test + public void nestedVndErrorsShouldSerialize() throws IOException { + + VndError error = new VndError("Username must contain at least three characters", "/username", null, // + new Link("http://path.to/user/resource/1", VndErrors.REL_ABOUT)); + + VndErrors vndErrors = new VndErrors() + .withError(error) + .withLink(new Link("http://path.to/describes").withRel(VndErrors.REL_DESCRIBES)) + .withLink(new Link("http://path.to/help").withRel(VndErrors.REL_HELP)) + .withLink(new Link("http://path.to/user/resource/1").withRel(VndErrors.REL_ABOUT)) + .withMessage("Validation failed") + .withLogref(42); + + String json = read(new ClassPathResource("vnderrors-nested.json")); - try (FileInputStream stream = new FileInputStream(resource.getFile())) { - FileChannel fc = stream.getChannel(); - MappedByteBuffer bb = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc.size()); - return Charset.defaultCharset().decode(bb).toString(); - } + assertThat(mapper.writeValueAsString(vndErrors)).isEqualTo(json); } } diff --git a/src/test/java/org/springframework/hateoas/VndErrorsUnitTest.java b/src/test/java/org/springframework/hateoas/VndErrorsUnitTest.java index 18f68bc89..31531d64b 100755 --- a/src/test/java/org/springframework/hateoas/VndErrorsUnitTest.java +++ b/src/test/java/org/springframework/hateoas/VndErrorsUnitTest.java @@ -17,6 +17,8 @@ import static org.assertj.core.api.Assertions.*; +import java.util.ArrayList; + import org.junit.Test; import org.springframework.hateoas.VndErrors.VndError; @@ -24,17 +26,62 @@ * Unit tests for {@link VndErrors}. * * @author Oliver Gierke + * @author Greg Turnquist */ public class VndErrorsUnitTest { + /** + * @see #775 + */ + @Test(expected = IllegalArgumentException.class) + public void vndErrorsDoesntTakeNull() { + new VndErrors().withErrors(null); + } + + /** + * @see #775 + */ + @Test(expected = IllegalArgumentException.class) + public void vndErrorsDoesntTakeEmptyCollection() { + new VndErrors().withErrors(new ArrayList<>()); + } + + /** + * @see #775 + */ + @Test + public void vndErrorsUsingSingleErrorArguments() { + + VndErrors errors = new VndErrors().withError(new VndError("message", "/path", 50, new Link("/link").withSelfRel())); + + assertThat(errors.getTotal()).isEqualTo(1); + assertThat(errors.getContent()).hasSize(1); + assertThat(errors.getContent()) + .containsExactly(new VndError("message", "/path", 50, new Link("/link").withSelfRel())); + } + + /** + * @see #775 + */ + @Test + public void appendingVndErrorsShouldWork() { + + VndErrors errors = new VndErrors().withError(new VndError("message", "/path", 50, new Link("/link").withSelfRel())); + + errors.getContent().add(new VndError("message2", "/path2", 51, new Link("/link2", "link2"))); + } + + /** + * @see #775 + */ @Test - public void rendersToStringCorrectly() { + public void vndErrorRendersToStringCorrectly() { - VndError error = new VndErrors.VndError("logref", "message", new Link("foo", "bar")); - assertThat(error.toString()).isEqualTo("VndError[logref: logref, message: message, links: [;rel=\"bar\"]]"); + VndError error = new VndErrors.VndError("message", "path", 50, new Link("foo", "bar")); + assertThat(error.toString()).isEqualTo("VndError{message='message', path='path', logref=50, links=[;rel=\"bar\"]}"); - VndErrors errors = new VndErrors(error); + VndErrors errors = new VndErrors().withError(error); assertThat(errors.toString()) // - .isEqualTo("VndErrors[VndError[logref: logref, message: message, links: [;rel=\"bar\"]]]"); + .isEqualTo("VndErrors(errors=[VndError{message='message', path='path', logref=50, links=[;rel=\"bar\"]}], message=null, logref=null)"); } } diff --git a/src/test/resources/vnderror-single-item.json b/src/test/resources/vnderror-single-item.json new file mode 100644 index 000000000..dffc6c4df --- /dev/null +++ b/src/test/resources/vnderror-single-item.json @@ -0,0 +1,16 @@ +{ + "message" : "Validation failed", + "path" : "/username", + "logref" : 42, + "_links" : { + "about" : { + "href" : "http://path.to/user/resource/1" + }, + "describes" : { + "href" : "http://path.to/describes" + }, + "help" : { + "href" : "http://path.to/help" + } + } +} diff --git a/src/test/resources/vnderror.json b/src/test/resources/vnderror.json deleted file mode 100644 index aeaa93a83..000000000 --- a/src/test/resources/vnderror.json +++ /dev/null @@ -1,34 +0,0 @@ -[ { - "logref" : "42", - "message" : "Validation failed!", - "_links" : { - "describes" : { - "href" : "http://..." - }, - "help" : { - "href" : "http://..." - } - } -}, { - "logref" : "42", - "message" : "Validation failed!", - "_links" : { - "describes" : { - "href" : "http://..." - }, - "help" : { - "href" : "http://..." - } - } -}, { - "logref" : "42", - "message" : "Validation failed!", - "_links" : { - "describes" : { - "href" : "http://..." - }, - "help" : { - "href" : "http://..." - } - } -} ] \ No newline at end of file diff --git a/src/test/resources/vnderror2.json b/src/test/resources/vnderror2.json deleted file mode 100644 index f3faf2d7b..000000000 --- a/src/test/resources/vnderror2.json +++ /dev/null @@ -1,34 +0,0 @@ -[ { - "logref" : "42", - "message" : "Validation failed!", - "_links" : { - "describes" : { - "href" : "http://..." - }, - "help" : { - "href" : "http://..." - } - } -}, { - "logref" : "42", - "message" : "Validation failed!", - "_links" : { - "describes" : { - "href" : "http://..." - }, - "help" : { - "href" : "http://..." - } - } -}, { - "logref" : "42", - "message" : "Validation failed!", - "_links" : { - "describes" : { - "href" : "http://..." - }, - "help" : { - "href" : "http://..." - } - } -} ] diff --git a/src/test/resources/vnderrors-multiple-item.json b/src/test/resources/vnderrors-multiple-item.json new file mode 100644 index 000000000..c1ada65b4 --- /dev/null +++ b/src/test/resources/vnderrors-multiple-item.json @@ -0,0 +1,22 @@ +{ + "total" : 2, + "_embedded" : { + "errors" : [ { + "message" : "\"username\" field validation failed", + "logref" : 50, + "_links" : { + "help" : { + "href" : "http://.../" + } + } + }, { + "message" : "\"postcode\" field validation failed", + "logref" : 55, + "_links" : { + "help" : { + "href" : "http://.../" + } + } + } ] + } +} \ No newline at end of file diff --git a/src/test/resources/vnderrors-nested.json b/src/test/resources/vnderrors-nested.json new file mode 100644 index 000000000..a147c54e3 --- /dev/null +++ b/src/test/resources/vnderrors-nested.json @@ -0,0 +1,27 @@ +{ + "message" : "Validation failed", + "logref" : 42, + "total" : 1, + "_links" : { + "describes" : { + "href" : "http://path.to/describes" + }, + "help" : { + "href" : "http://path.to/help" + }, + "about" : { + "href" : "http://path.to/user/resource/1" + } + }, + "_embedded" : { + "errors" : [ { + "message" : "Username must contain at least three characters", + "path" : "/username", + "_links" : { + "about" : { + "href" : "http://path.to/user/resource/1" + } + } + } ] + } +} From 348110d069f90cc6757ed75b2cf9d36181bd56e9 Mon Sep 17 00:00:00 2001 From: Spring Operator Date: Mon, 18 Mar 2019 09:55:32 -0700 Subject: [PATCH 2/5] #833 - URL Cleanup. This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # Fixed URLs ## Fixed Success These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * http://maven.apache.org/xsd/maven-4.0.0.xsd with 1 occurrences migrated to: https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200). * http://www.apache.org/licenses/LICENSE-2.0 with 4 occurrences migrated to: https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200). * http://static.springframework.org/spring/docs/4.1.x/javadoc-api (301) with 1 occurrences migrated to: https://docs.spring.io/spring/docs/4.1.x/javadoc-api ([https](https://static.springframework.org/spring/docs/4.1.x/javadoc-api) result 301). * http://github.com/SpringSource/spring-hateoas with 1 occurrences migrated to: https://github.com/SpringSource/spring-hateoas ([https](https://github.com/SpringSource/spring-hateoas) result 301). * http://www.spring.io with 1 occurrences migrated to: https://www.spring.io ([https](https://www.spring.io) result 301). * http://docs.oracle.com/javase/6/docs/api with 1 occurrences migrated to: https://docs.oracle.com/javase/6/docs/api ([https](https://docs.oracle.com/javase/6/docs/api) result 302). * http://repo.spring.io/libs-snapshot with 2 occurrences migrated to: https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot) result 302). # Ignored These URLs were intentionally ignored. * http://maven.apache.org/POM/4.0.0 with 2 occurrences * http://www.w3.org/2001/XMLSchema-instance with 1 occurrences --- mvnw | 2 +- mvnw.cmd | 2 +- pom.xml | 18 +++++++++--------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/mvnw b/mvnw index e96ccd5fb..4e574d9a0 100755 --- a/mvnw +++ b/mvnw @@ -8,7 +8,7 @@ # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an diff --git a/mvnw.cmd b/mvnw.cmd index 6a6eec39b..e506408e3 100755 --- a/mvnw.cmd +++ b/mvnw.cmd @@ -7,7 +7,7 @@ @REM "License"); you may not use this file except in compliance @REM with the License. You may obtain a copy of the License at @REM -@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM https://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, @REM software distributed under the License is distributed on an diff --git a/pom.xml b/pom.xml index 9242adcf5..ec0e25328 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,5 @@ - + 4.0.0 org.springframework.hateoas @@ -7,7 +7,7 @@ 1.0.0.BUILD-SNAPSHOT Spring HATEOAS - http://github.com/SpringSource/spring-hateoas + https://github.com/SpringSource/spring-hateoas Library to support implementing representations for hyper-text driven REST web services. @@ -17,7 +17,7 @@ Pivotal, Inc. - http://www.spring.io + https://www.spring.io @@ -46,7 +46,7 @@ Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0 + https://www.apache.org/licenses/LICENSE-2.0 Copyright 2011-2018 the original author or authors. @@ -54,7 +54,7 @@ you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, @@ -93,7 +93,7 @@ spring-libs-snapshot - http://repo.spring.io/libs-snapshot + https://repo.spring.io/libs-snapshot @@ -107,7 +107,7 @@ spring-libs-snapshot - http://repo.spring.io/libs-snapshot + https://repo.spring.io/libs-snapshot @@ -641,8 +641,8 @@ -Xdoclint:none ${basedir}/src/main/javadoc/spring-javadoc.css - http://static.springframework.org/spring/docs/4.1.x/javadoc-api - http://docs.oracle.com/javase/6/docs/api + https://docs.spring.io/spring/docs/4.1.x/javadoc-api + https://docs.oracle.com/javase/6/docs/api From 3d0f39a8c08c6cad61afde91ee4c8b6c21d6c23b Mon Sep 17 00:00:00 2001 From: Spring Operator Date: Mon, 1 Apr 2019 08:02:25 -0700 Subject: [PATCH 3/5] #910 - URL Cleanup. This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # HTTP URLs that Could Not Be Fixed These URLs were unable to be fixed. Please review them to see if they can be manually resolved. * [ ] http://alps.io (200) with 1 occurrences could not be migrated: ([https](https://alps.io) result AnnotatedConnectException). * [ ] http://alps.io/spec/ (200) with 6 occurrences could not be migrated: ([https](https://alps.io/spec/) result AnnotatedConnectException). * [ ] http://amundsen.com/media-types/collection/examples/ (200) with 7 occurrences could not be migrated: ([https](https://amundsen.com/media-types/collection/examples/) result AnnotatedConnectException). * [ ] http://amundsen.com/media-types/collection/format/ (200) with 1 occurrences could not be migrated: ([https](https://amundsen.com/media-types/collection/format/) result AnnotatedConnectException). * [ ] http://stateless.co/hal_specification.html (200) with 2 occurrences could not be migrated: ([https](https://stateless.co/hal_specification.html) result SSLHandshakeException). * [ ] http://foo.com/bar (301) with 6 occurrences could not be migrated: ([https](https://foo.com/bar) result SSLHandshakeException). * [ ] http://www.csse.monash.edu.au/~damian/papers/HTML/Plurals.html (302) with 1 occurrences could not be migrated: ([https](https://www.csse.monash.edu.au/~damian/papers/HTML/Plurals.html) result SSLHandshakeException). * [ ] http://alps.io/ext/range (404) with 2 occurrences could not be migrated: ([https](https://alps.io/ext/range) result AnnotatedConnectException). # Fixed URLs ## Fixed But Review Recommended These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended. * [ ] http://tools.ietf.org/html/draft-kelly-json-hal (301) with 2 occurrences migrated to: https://tools.ietf.org/html/draft-kelly-json-hal ([https](https://tools.ietf.org/html/draft-kelly-json-hal) result ReadTimeoutException). * [ ] http://.../ (UnknownHostException) with 6 occurrences migrated to: https://.../ ([https](https://.../) result UnknownHostException). * [ ] http://examples.org/blogs/jdoe (UnknownHostException) with 5 occurrences migrated to: https://examples.org/blogs/jdoe ([https](https://examples.org/blogs/jdoe) result UnknownHostException). * [ ] http://examples.org/blogs/msmith (UnknownHostException) with 3 occurrences migrated to: https://examples.org/blogs/msmith ([https](https://examples.org/blogs/msmith) result UnknownHostException). * [ ] http://examples.org/blogs/rwilliams (UnknownHostException) with 3 occurrences migrated to: https://examples.org/blogs/rwilliams ([https](https://examples.org/blogs/rwilliams) result UnknownHostException). * [ ] http://examples.org/images/jdoe (UnknownHostException) with 5 occurrences migrated to: https://examples.org/images/jdoe ([https](https://examples.org/images/jdoe) result UnknownHostException). * [ ] http://examples.org/images/msmith (UnknownHostException) with 3 occurrences migrated to: https://examples.org/images/msmith ([https](https://examples.org/images/msmith) result UnknownHostException). * [ ] http://examples.org/images/rwilliams (UnknownHostException) with 3 occurrences migrated to: https://examples.org/images/rwilliams ([https](https://examples.org/images/rwilliams) result UnknownHostException). * [ ] http://path.to/describes (UnknownHostException) with 6 occurrences migrated to: https://path.to/describes ([https](https://path.to/describes) result UnknownHostException). * [ ] http://path.to/help (UnknownHostException) with 6 occurrences migrated to: https://path.to/help ([https](https://path.to/help) result UnknownHostException). * [ ] http://path.to/user/resource/1 (UnknownHostException) with 9 occurrences migrated to: https://path.to/user/resource/1 ([https](https://path.to/user/resource/1) result UnknownHostException). * [ ] http://acme.com/rels/foo-bar (404) with 2 occurrences migrated to: https://acme.com/rels/foo-bar ([https](https://acme.com/rels/foo-bar) result 404). * [ ] http://docs.spring.io/spring-hateoas/docs/current-SNAPSHOT/api/ (301) with 1 occurrences migrated to: https://docs.spring.io/spring-hateoas/docs/current-SNAPSHOT/api/ ([https](https://docs.spring.io/spring-hateoas/docs/current-SNAPSHOT/api/) result 404). * [ ] http://example.com/custom/deprecated (404) with 1 occurrences migrated to: https://example.com/custom/deprecated ([https](https://example.com/custom/deprecated) result 404). * [ ] http://example.com/customers/deprecated (404) with 2 occurrences migrated to: https://example.com/customers/deprecated ([https](https://example.com/customers/deprecated) result 404). * [ ] http://example.com/rels/ (404) with 2 occurrences migrated to: https://example.com/rels/ ([https](https://example.com/rels/) result 404). * [ ] http://example.com/rels/persons (404) with 1 occurrences migrated to: https://example.com/rels/persons ([https](https://example.com/rels/persons) result 404). * [ ] http://example.org/blogs/wchandry (404) with 2 occurrences migrated to: https://example.org/blogs/wchandry ([https](https://example.org/blogs/wchandry) result 404). * [ ] http://example.org/friends/ (404) with 13 occurrences migrated to: https://example.org/friends/ ([https](https://example.org/friends/) result 404). * [ ] http://example.org/friends/?queries (404) with 2 occurrences migrated to: https://example.org/friends/?queries ([https](https://example.org/friends/?queries) result 404). * [ ] http://example.org/friends/?template (404) with 2 occurrences migrated to: https://example.org/friends/?template ([https](https://example.org/friends/?template) result 404). * [ ] http://example.org/friends/jdoe (404) with 4 occurrences migrated to: https://example.org/friends/jdoe ([https](https://example.org/friends/jdoe) result 404). * [ ] http://example.org/friends/msmith (404) with 2 occurrences migrated to: https://example.org/friends/msmith ([https](https://example.org/friends/msmith) result 404). * [ ] http://example.org/friends/rss (404) with 5 occurrences migrated to: https://example.org/friends/rss ([https](https://example.org/friends/rss) result 404). * [ ] http://example.org/friends/rwilliams (404) with 2 occurrences migrated to: https://example.org/friends/rwilliams ([https](https://example.org/friends/rwilliams) result 404). * [ ] http://example.org/friends/search (404) with 2 occurrences migrated to: https://example.org/friends/search ([https](https://example.org/friends/search) result 404). * [ ] http://example.org/images/wchandry (404) with 2 occurrences migrated to: https://example.org/images/wchandry ([https](https://example.org/images/wchandry) result 404). * [ ] http://example.org/samples/full/doc.html (404) with 3 occurrences migrated to: https://example.org/samples/full/doc.html ([https](https://example.org/samples/full/doc.html) result 404). * [ ] http://www.example.com/rels/ (404) with 1 occurrences migrated to: https://www.example.com/rels/ ([https](https://www.example.com/rels/) result 404). ## Fixed Success These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * [ ] http://docs.spring.io/spring-hateoas/docs/current/reference/html/ with 1 occurrences migrated to: https://docs.spring.io/spring-hateoas/docs/current/reference/html/ ([https](https://docs.spring.io/spring-hateoas/docs/current/reference/html/) result 200). * [ ] http://docs.spring.io/spring-hateoas/docs/current/reference/pdf/spring-hateoas-reference.pdf with 1 occurrences migrated to: https://docs.spring.io/spring-hateoas/docs/current/reference/pdf/spring-hateoas-reference.pdf ([https](https://docs.spring.io/spring-hateoas/docs/current/reference/pdf/spring-hateoas-reference.pdf) result 200). * [ ] http://en.wikipedia.org/wiki/HATEOAS with 2 occurrences migrated to: https://en.wikipedia.org/wiki/HATEOAS ([https](https://en.wikipedia.org/wiki/HATEOAS) result 200). * [ ] http://example.com?name=foo with 1 occurrences migrated to: https://example.com?name=foo ([https](https://example.com?name=foo) result 200). * [ ] http://mamund.site44.com/misc/hal-forms/ with 1 occurrences migrated to: https://mamund.site44.com/misc/hal-forms/ ([https](https://mamund.site44.com/misc/hal-forms/) result 200). * [ ] http://projects.spring.io/spring-hateoas/ with 2 occurrences migrated to: https://projects.spring.io/spring-hateoas/ ([https](https://projects.spring.io/spring-hateoas/) result 200). * [ ] http://tools.ietf.org/html/draft-kelly-json-hal-05 with 1 occurrences migrated to: https://tools.ietf.org/html/draft-kelly-json-hal-05 ([https](https://tools.ietf.org/html/draft-kelly-json-hal-05) result 200). * [ ] http://tools.ietf.org/html/rfc6570 with 1 occurrences migrated to: https://tools.ietf.org/html/rfc6570 ([https](https://tools.ietf.org/html/rfc6570) result 200). * [ ] http://tools.ietf.org/html/rfc7239 with 1 occurrences migrated to: https://tools.ietf.org/html/rfc7239 ([https](https://tools.ietf.org/html/rfc7239) result 200). * [ ] http://www.example.com with 2 occurrences migrated to: https://www.example.com ([https](https://www.example.com) result 200). * [ ] http://www.iana.org/assignments/link-relations/link-relations.xhtml with 2 occurrences migrated to: https://www.iana.org/assignments/link-relations/link-relations.xhtml ([https](https://www.iana.org/assignments/link-relations/link-relations.xhtml) result 200). * [ ] http://amazon.com with 4 occurrences migrated to: https://amazon.com ([https](https://amazon.com) result 301). * [ ] http://contributor-covenant.org with 1 occurrences migrated to: https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301). * [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to: https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301). * [ ] http://www.w3.org/TR/curie with 1 occurrences migrated to: https://www.w3.org/TR/curie ([https](https://www.w3.org/TR/curie) result 301). * [ ] http://tools.ietf.org/html/rfc5988=section-4 with 1 occurrences migrated to: https://tools.ietf.org/html/rfc5988=section-4 ([https](https://tools.ietf.org/html/rfc5988=section-4) result 302). * [ ] http://www.springsource.org/download with 1 occurrences migrated to: https://www.springsource.org/download ([https](https://www.springsource.org/download) result 302). # Ignored These URLs were intentionally ignored. * http://barfoo:8888 with 1 occurrences * http://foobar with 1 occurrences * http://foobar:8088 with 1 occurrences * http://foobarhost/ with 1 occurrences * http://foobarhost:9090/ with 1 occurrences * http://localhost with 7 occurrences * http://localhost/ with 1 occurrences * http://localhost/employees with 21 occurrences * http://localhost/employees/0 with 8 occurrences * http://localhost/employees/1 with 2 occurrences * http://localhost/employees/2 with 7 occurrences * http://localhost/sample/1/foo with 1 occurrences * http://localhost/sample/2/bar with 1 occurrences * http://localhost/something/bar/foo with 1 occurrences * http://localhost:8080/api/ with 1 occurrences * http://localhost:8080/foo with 2 occurrences * http://localhost:8080/my/custom/location with 2 occurrences * http://localhost:8080/rels with 1 occurrences * http://localhost:8080/rels/ with 6 occurrences * http://localhost:8080/something with 4 occurrences * http://localhost:8080/test?page=0&filter=foo,bar with 2 occurrences * http://localhost:8080/your-app with 1 occurrences * http://localhost:8080/your-app/people with 1 occurrences * http://myhost/people with 4 occurrences * http://myhost/person/1 with 1 occurrences * http://myhost/person/1/orders with 1 occurrences * http://proxy1:1443 with 1 occurrences * http://somethingDifferent with 1 occurrences * http://www.w3.org/2005/Atom with 2 occurrences --- CODE_OF_CONDUCT.adoc | 2 +- readme.adoc | 10 ++--- src/main/asciidoc/index.adoc | 10 ++--- .../org/springframework/hateoas/IanaRels.java | 2 +- .../hateoas/QueryParameter.java | 2 +- .../springframework/hateoas/UriTemplate.java | 2 +- .../config/EnableHypermediaSupport.java | 2 +- .../hateoas/core/EvoInflectorRelProvider.java | 2 +- .../hateoas/hal/CurieProvider.java | 2 +- .../hateoas/hal/forms/HalFormsProperty.java | 2 +- .../hateoas/mvc/ForwardedHeader.java | 2 +- src/main/resources/license.txt | 2 +- .../springframework/hateoas/LinkUnitTest.java | 8 ++-- .../hateoas/VndErrorsMarshallingTest.java | 36 ++++++++-------- .../alps/AlpsLinkDiscoverUnitTest.java | 2 +- .../alps/JacksonSerializationTest.java | 2 +- .../hateoas/client/TraversonTest.java | 4 +- .../CollectionJsonLinkDiscovererUnitTest.java | 18 ++++---- .../CollectionJsonSpecTest.java | 42 +++++++++---------- .../hal/DefaultCurieProviderUnitTest.java | 10 ++--- .../hal/HalLinkDiscovererUnitTest.java | 4 +- .../forms/HalFormsLinkDiscovererUnitTest.java | 4 +- .../hateoas/alps/link-discoverer.json | 4 +- .../hateoas/alps/reference.json | 2 +- .../hateoas/collectionjson/spec-part1.json | 2 +- .../hateoas/collectionjson/spec-part2.json | 24 +++++------ .../hateoas/collectionjson/spec-part3.json | 14 +++---- .../hateoas/collectionjson/spec-part4.json | 4 +- .../hateoas/collectionjson/spec-part5.json | 2 +- .../hateoas/collectionjson/spec-part6.json | 2 +- .../collectionjson/spec-part7-adjusted.json | 4 +- .../hateoas/collectionjson/spec-part7.json | 4 +- src/test/resources/vnderror-single-item.json | 6 +-- .../resources/vnderrors-multiple-item.json | 4 +- src/test/resources/vnderrors-nested.json | 8 ++-- 35 files changed, 125 insertions(+), 125 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/readme.adoc b/readme.adoc index ecf2abdb0..cb573248d 100644 --- a/readme.adoc +++ b/readme.adoc @@ -1,9 +1,9 @@ -image:https://spring.io/badges/spring-hateoas/ga.svg[http://projects.spring.io/spring-hateoas/#quick-start] -image:https://spring.io/badges/spring-hateoas/snapshot.svg[http://projects.spring.io/spring-hateoas/#quick-start] +image:https://spring.io/badges/spring-hateoas/ga.svg[https://projects.spring.io/spring-hateoas/#quick-start] +image:https://spring.io/badges/spring-hateoas/snapshot.svg[https://projects.spring.io/spring-hateoas/#quick-start] = Spring HATEOAS -This project provides some APIs to ease creating REST representations that follow the http://en.wikipedia.org/wiki/HATEOAS[HATEOAS] principle when working with Spring and especially Spring MVC. The core problem it tries to address is link creation and representation assembly. +This project provides some APIs to ease creating REST representations that follow the https://en.wikipedia.org/wiki/HATEOAS[HATEOAS] principle when working with Spring and especially Spring MVC. The core problem it tries to address is link creation and representation assembly. == Working with Spring HATEOAS @@ -16,6 +16,6 @@ git config core.commentchar "/" == Resources -* Reference documentation - http://docs.spring.io/spring-hateoas/docs/current/reference/html/[html], http://docs.spring.io/spring-hateoas/docs/current/reference/pdf/spring-hateoas-reference.pdf[pdf] -* http://docs.spring.io/spring-hateoas/docs/current-SNAPSHOT/api/[JavaDoc] +* Reference documentation - https://docs.spring.io/spring-hateoas/docs/current/reference/html/[html], https://docs.spring.io/spring-hateoas/docs/current/reference/pdf/spring-hateoas-reference.pdf[pdf] +* https://docs.spring.io/spring-hateoas/docs/current-SNAPSHOT/api/[JavaDoc] * https://spring.io/guides/gs/rest-hateoas/[Getting started guide] \ No newline at end of file diff --git a/src/main/asciidoc/index.adoc b/src/main/asciidoc/index.adoc index ba7e2f181..1f6ef9cfe 100644 --- a/src/main/asciidoc/index.adoc +++ b/src/main/asciidoc/index.adoc @@ -6,7 +6,7 @@ Oliver Gierke, Greg Turnquist; :toc-placement!: -This project provides some APIs to ease creating REST representations that follow the http://en.wikipedia.org/wiki/HATEOAS[HATEOAS] principle when working with Spring and especially Spring MVC. The core problem it tries to address is link creation and representation assembly. +This project provides some APIs to ease creating REST representations that follow the https://en.wikipedia.org/wiki/HATEOAS[HATEOAS] principle when working with Spring and especially Spring MVC. The core problem it tries to address is link creation and representation assembly. (C) 2012-2015 The original authors. @@ -290,7 +290,7 @@ List resources = assembler.toResources(people); [[configuration.at-enable]] === @EnableHypermediaSupport -To enable the `ResourceSupport` subtypes be rendered according to the specification of various hypermedia representations types, the support for a particular hypermedia representation format can be activated through `@EnableHypermediaSupport`. The annotation takes a `HypermediaType` enumeration as argument. Currently we support http://tools.ietf.org/html/draft-kelly-json-hal[HAL] as well as a default rendering. Using the annotation triggers the following: +To enable the `ResourceSupport` subtypes be rendered according to the specification of various hypermedia representations types, the support for a particular hypermedia representation format can be activated through `@EnableHypermediaSupport`. The annotation takes a `HypermediaType` enumeration as argument. Currently we support https://tools.ietf.org/html/draft-kelly-json-hal[HAL] as well as a default rendering. Using the annotation triggers the following: * registers necessary Jackson modules to render `Resource`/`Resources` in the hypermedia specific format. * if JSONPath is on the classpath, it automatically registers a `LinkDiscoverer` instance to lookup links by their `rel` in plain JSON representations (see <>). @@ -316,7 +316,7 @@ A `RelProvider` is exposed as Spring bean when using `@EnableHypermediaSupport` [[spis.curie-provider]] === CurieProvider API -The http://tools.ietf.org/html/rfc5988=section-4[Web Linking RFC] describes registered and extension link relation types. Registered rels are well-known strings registered with the http://www.iana.org/assignments/link-relations/link-relations.xhtml[IANA registry of link relation types]. Extension rels can be used by applications that do not wish to register a relation type. They are a URI that uniquely identifies the relation type. The rel URI can be serialized as a compact URI or http://www.w3.org/TR/curie[Curie]. E.g. a curie `ex:persons` stands for the link relation type `http://example.com/rels/persons` if `ex` is defined as `http://example.com/rels/{rel}`. If curies are used, the base URI must be present in the response scope. +The https://tools.ietf.org/html/rfc5988=section-4[Web Linking RFC] describes registered and extension link relation types. Registered rels are well-known strings registered with the https://www.iana.org/assignments/link-relations/link-relations.xhtml[IANA registry of link relation types]. Extension rels can be used by applications that do not wish to register a relation type. They are a URI that uniquely identifies the relation type. The rel URI can be serialized as a compact URI or https://www.w3.org/TR/curie[Curie]. E.g. a curie `ex:persons` stands for the link relation type `https://example.com/rels/persons` if `ex` is defined as `https://example.com/rels/{rel}`. If curies are used, the base URI must be present in the response scope. The rels created by the default `RelProvider` are extension relation types and as such must be URIs, which can cause a lot of overhead. The `CurieProvider` API takes care of that: it allows to define a base URI as URI template and a prefix which stands for that base URI. If a `CurieProvider` is present, the `RelProvider` prepends all rels with the curie prefix. Furthermore a `curies` link is automatically added to the HAL resource. @@ -331,7 +331,7 @@ public class Config { @Bean public CurieProvider curieProvider() { - return new DefaultCurieProvider("ex", new UriTemplate("http://www.example.com/rels/{rel}")); + return new DefaultCurieProvider("ex", new UriTemplate("https://www.example.com/rels/{rel}")); } } ---- @@ -345,7 +345,7 @@ Note that now the prefix `ex:` automatically appears before all rels which are n "self" : { href: "http://myhost/person/1" }, "curies" : { "name" : "ex", - "href" : "http://example.com/rels/{rel}", + "href" : "https://example.com/rels/{rel}", "templated" : true }, "ex:orders" : { href : "http://myhost/person/1/orders" } diff --git a/src/main/java/org/springframework/hateoas/IanaRels.java b/src/main/java/org/springframework/hateoas/IanaRels.java index 8f6292fa6..8a00c8b8b 100644 --- a/src/main/java/org/springframework/hateoas/IanaRels.java +++ b/src/main/java/org/springframework/hateoas/IanaRels.java @@ -25,7 +25,7 @@ /** * Static class to find out whether a relation type is defined by the IANA. * - * @see http://www.iana.org/assignments/link-relations/link-relations.xhtml + * @see https://www.iana.org/assignments/link-relations/link-relations.xhtml * @author Oliver Gierke * @author Roland Kulcsár */ diff --git a/src/main/java/org/springframework/hateoas/QueryParameter.java b/src/main/java/org/springframework/hateoas/QueryParameter.java index f24cb5b14..eb25afaf3 100644 --- a/src/main/java/org/springframework/hateoas/QueryParameter.java +++ b/src/main/java/org/springframework/hateoas/QueryParameter.java @@ -19,7 +19,7 @@ import lombok.RequiredArgsConstructor; /** - * Web framework-neutral representation of a web request's query parameter (http://example.com?name=foo). + * Web framework-neutral representation of a web request's query parameter (https://example.com?name=foo). * * @author Greg Turnquist */ diff --git a/src/main/java/org/springframework/hateoas/UriTemplate.java b/src/main/java/org/springframework/hateoas/UriTemplate.java index e1a651019..0cf80e7c8 100644 --- a/src/main/java/org/springframework/hateoas/UriTemplate.java +++ b/src/main/java/org/springframework/hateoas/UriTemplate.java @@ -36,7 +36,7 @@ * Custom URI template to support qualified URI template variables. * * @author Oliver Gierke - * @see http://tools.ietf.org/html/rfc6570 + * @see https://tools.ietf.org/html/rfc6570 * @since 0.9 */ public class UriTemplate implements Iterable, Serializable { diff --git a/src/main/java/org/springframework/hateoas/config/EnableHypermediaSupport.java b/src/main/java/org/springframework/hateoas/config/EnableHypermediaSupport.java index 1fc5e5a6a..95b526113 100644 --- a/src/main/java/org/springframework/hateoas/config/EnableHypermediaSupport.java +++ b/src/main/java/org/springframework/hateoas/config/EnableHypermediaSupport.java @@ -67,7 +67,7 @@ enum HypermediaType { * HAL - Hypermedia Application Language. * * @see http://stateless.co/hal_specification.html - * @see http://tools.ietf.org/html/draft-kelly-json-hal-05 + * @see https://tools.ietf.org/html/draft-kelly-json-hal-05 */ HAL, diff --git a/src/main/java/org/springframework/hateoas/core/EvoInflectorRelProvider.java b/src/main/java/org/springframework/hateoas/core/EvoInflectorRelProvider.java index f9b380db0..f0775e4cd 100644 --- a/src/main/java/org/springframework/hateoas/core/EvoInflectorRelProvider.java +++ b/src/main/java/org/springframework/hateoas/core/EvoInflectorRelProvider.java @@ -22,7 +22,7 @@ * {@link RelProvider} implementation using the Evo Inflector implementation of an algorithmic approach to English * plurals. * - * @see http://www.csse.monash.edu.au/~damian/papers/HTML/Plurals.html + * @see http://users.monash.edu/~damian/papers/HTML/Plurals.html * @author Oliver Gierke */ public class EvoInflectorRelProvider extends DefaultRelProvider { diff --git a/src/main/java/org/springframework/hateoas/hal/CurieProvider.java b/src/main/java/org/springframework/hateoas/hal/CurieProvider.java index e06916c46..c7493bf06 100644 --- a/src/main/java/org/springframework/hateoas/hal/CurieProvider.java +++ b/src/main/java/org/springframework/hateoas/hal/CurieProvider.java @@ -23,7 +23,7 @@ /** * API to provide HAL curie information for links. * - * @see http://tools.ietf.org/html/draft-kelly-json-hal#section-8.2 + * @see https://tools.ietf.org/html/draft-kelly-json-hal#section-8.2 * @author Oliver Gierke * @author Jeff Stano * @since 0.9 diff --git a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsProperty.java b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsProperty.java index f5992e037..d0f4b8a83 100644 --- a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsProperty.java +++ b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsProperty.java @@ -31,7 +31,7 @@ * Describe a parameter for the associated state transition in a HAL-FORMS document. A {@link HalFormsTemplate} may * contain a list of {@link HalFormsProperty}s * - * @see http://mamund.site44.com/misc/hal-forms/ + * @see https://mamund.site44.com/misc/hal-forms/ */ @JsonInclude(Include.NON_DEFAULT) @Value diff --git a/src/main/java/org/springframework/hateoas/mvc/ForwardedHeader.java b/src/main/java/org/springframework/hateoas/mvc/ForwardedHeader.java index 3c1aa2286..b93d5e9fc 100644 --- a/src/main/java/org/springframework/hateoas/mvc/ForwardedHeader.java +++ b/src/main/java/org/springframework/hateoas/mvc/ForwardedHeader.java @@ -32,7 +32,7 @@ * Value object to partially implement the {@literal Forwarded} header defined in RFC 7239. * * @author Oliver Gierke - * @see http://tools.ietf.org/html/rfc7239 + * @see https://tools.ietf.org/html/rfc7239 * @deprecated In Spring 5.1, all Forwarded headers will by handled by Spring MVC. */ @Deprecated 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/test/java/org/springframework/hateoas/LinkUnitTest.java b/src/test/java/org/springframework/hateoas/LinkUnitTest.java index 2d99c9004..9e96a5e04 100755 --- a/src/test/java/org/springframework/hateoas/LinkUnitTest.java +++ b/src/test/java/org/springframework/hateoas/LinkUnitTest.java @@ -137,14 +137,14 @@ public void parsesRFC5988HeaderIntoLink() { + "media=\"pdf\";" // + "title=\"pdf customer copy\";" // + "type=\"portable document\";" // - + "deprecation=\"http://example.com/customers/deprecated\";" // + + "deprecation=\"https://example.com/customers/deprecated\";" // + "profile=\"my-profile\"")) // .isEqualTo(new Link("/customer/1") // .withHreflang("en") // .withMedia("pdf") // .withTitle("pdf customer copy") // .withType("portable document") // - .withDeprecation("http://example.com/customers/deprecated").withProfile("my-profile")); + .withDeprecation("https://example.com/customers/deprecated").withProfile("my-profile")); }); } @@ -248,8 +248,8 @@ public void parsesLinkRelationWithDotAndMinus() { @Test public void parsesUriLinkRelations() { - assertThat(Link.valueOf("; rel=\"http://acme.com/rels/foo-bar\"").getRel()) // - .isEqualTo("http://acme.com/rels/foo-bar"); + assertThat(Link.valueOf("; rel=\"https://acme.com/rels/foo-bar\"").getRel()) // + .isEqualTo("https://acme.com/rels/foo-bar"); } /** diff --git a/src/test/java/org/springframework/hateoas/VndErrorsMarshallingTest.java b/src/test/java/org/springframework/hateoas/VndErrorsMarshallingTest.java index 0d233f631..b2df5551d 100755 --- a/src/test/java/org/springframework/hateoas/VndErrorsMarshallingTest.java +++ b/src/test/java/org/springframework/hateoas/VndErrorsMarshallingTest.java @@ -60,9 +60,9 @@ public void singleItemVndErrorShouldDeserialize() throws IOException { String json = read(new ClassPathResource("vnderror-single-item.json")); VndError error = new VndError("Validation failed", "/username", 42, // - new Link("http://path.to/user/resource/1", VndErrors.REL_ABOUT), - new Link("http://path.to/describes", VndErrors.REL_DESCRIBES), - new Link("http://path.to/help", VndErrors.REL_HELP)); + new Link("https://path.to/user/resource/1", VndErrors.REL_ABOUT), + new Link("https://path.to/describes", VndErrors.REL_DESCRIBES), + new Link("https://path.to/help", VndErrors.REL_HELP)); assertThat(mapper.readValue(json, VndError.class)).isEqualTo(error); } @@ -74,9 +74,9 @@ public void singleItemVndErrorShouldDeserialize() throws IOException { public void singleItemVndErrorShouldSerialize() throws IOException { VndError error = new VndError("Validation failed", "/username", 42, // - new Link("http://path.to/user/resource/1", VndErrors.REL_ABOUT), - new Link("http://path.to/describes", VndErrors.REL_DESCRIBES), - new Link("http://path.to/help", VndErrors.REL_HELP)); + new Link("https://path.to/user/resource/1", VndErrors.REL_ABOUT), + new Link("https://path.to/describes", VndErrors.REL_DESCRIBES), + new Link("https://path.to/help", VndErrors.REL_HELP)); String json = read(new ClassPathResource("vnderror-single-item.json")); @@ -93,10 +93,10 @@ public void multipleItemVndErrorsShouldDeserialize() throws IOException { String json = read(new ClassPathResource("vnderrors-multiple-item.json")); VndError error1 = new VndError("\"username\" field validation failed", null, 50, // - new Link("http://.../", VndErrors.REL_HELP)); + new Link("https://.../", VndErrors.REL_HELP)); VndError error2 = new VndError("\"postcode\" field validation failed", null, 55, // - new Link("http://.../", VndErrors.REL_HELP)); + new Link("https://.../", VndErrors.REL_HELP)); VndErrors vndErrors = new VndErrors().withError(error1).withError(error2); @@ -110,10 +110,10 @@ public void multipleItemVndErrorsShouldDeserialize() throws IOException { public void multipleItemVndErrorsShouldSerialize() throws IOException { VndError error1 = new VndError("\"username\" field validation failed", null, 50, // - new Link("http://.../", VndErrors.REL_HELP)); + new Link("https://.../", VndErrors.REL_HELP)); VndError error2 = new VndError("\"postcode\" field validation failed", null, 55, // - new Link("http://.../", VndErrors.REL_HELP)); + new Link("https://.../", VndErrors.REL_HELP)); VndErrors vndErrors = new VndErrors().withError(error1).withError(error2); @@ -131,13 +131,13 @@ public void nestedVndErrorsShouldDeserialize() throws IOException { String json = read(new ClassPathResource("vnderrors-nested.json")); VndError error = new VndError("Username must contain at least three characters", "/username", null, // - new Link("http://path.to/user/resource/1", VndErrors.REL_ABOUT)); + new Link("https://path.to/user/resource/1", VndErrors.REL_ABOUT)); VndErrors vndErrors = new VndErrors() .withError(error) - .withLink(new Link("http://path.to/describes").withRel(VndErrors.REL_DESCRIBES)) - .withLink(new Link("http://path.to/help").withRel(VndErrors.REL_HELP)) - .withLink(new Link("http://path.to/user/resource/1").withRel(VndErrors.REL_ABOUT)) + .withLink(new Link("https://path.to/describes").withRel(VndErrors.REL_DESCRIBES)) + .withLink(new Link("https://path.to/help").withRel(VndErrors.REL_HELP)) + .withLink(new Link("https://path.to/user/resource/1").withRel(VndErrors.REL_ABOUT)) .withMessage("Validation failed") .withLogref(42); @@ -151,13 +151,13 @@ public void nestedVndErrorsShouldDeserialize() throws IOException { public void nestedVndErrorsShouldSerialize() throws IOException { VndError error = new VndError("Username must contain at least three characters", "/username", null, // - new Link("http://path.to/user/resource/1", VndErrors.REL_ABOUT)); + new Link("https://path.to/user/resource/1", VndErrors.REL_ABOUT)); VndErrors vndErrors = new VndErrors() .withError(error) - .withLink(new Link("http://path.to/describes").withRel(VndErrors.REL_DESCRIBES)) - .withLink(new Link("http://path.to/help").withRel(VndErrors.REL_HELP)) - .withLink(new Link("http://path.to/user/resource/1").withRel(VndErrors.REL_ABOUT)) + .withLink(new Link("https://path.to/describes").withRel(VndErrors.REL_DESCRIBES)) + .withLink(new Link("https://path.to/help").withRel(VndErrors.REL_HELP)) + .withLink(new Link("https://path.to/user/resource/1").withRel(VndErrors.REL_ABOUT)) .withMessage("Validation failed") .withLogref(42); diff --git a/src/test/java/org/springframework/hateoas/alps/AlpsLinkDiscoverUnitTest.java b/src/test/java/org/springframework/hateoas/alps/AlpsLinkDiscoverUnitTest.java index a43e99356..e571c5d21 100755 --- a/src/test/java/org/springframework/hateoas/alps/AlpsLinkDiscoverUnitTest.java +++ b/src/test/java/org/springframework/hateoas/alps/AlpsLinkDiscoverUnitTest.java @@ -40,7 +40,7 @@ public class AlpsLinkDiscoverUnitTest extends AbstractLinkDiscovererUnitTest { @Test public void discoversFullyQualifiedRel() { - Link link = getDiscoverer().findLinkWithRel("http://foo.com/bar", getInputString()); + Link link = getDiscoverer().findLinkWithRel("http://www.foo.com/bar", getInputString()); assertThat(link).isNotNull(); assertThat(link.getHref()).isEqualTo("fullRelHref"); diff --git a/src/test/java/org/springframework/hateoas/alps/JacksonSerializationTest.java b/src/test/java/org/springframework/hateoas/alps/JacksonSerializationTest.java index 6edc8a440..bc2eb5d1e 100755 --- a/src/test/java/org/springframework/hateoas/alps/JacksonSerializationTest.java +++ b/src/test/java/org/springframework/hateoas/alps/JacksonSerializationTest.java @@ -56,7 +56,7 @@ public void setUp() { public void writesSampleDocument() throws Exception { Alps alps = alps().// - doc(doc().href("http://example.org/samples/full/doc.html").build()). // + doc(doc().href("https://example.org/samples/full/doc.html").build()). // descriptor(Arrays.asList(// descriptor().id("search").type(Type.SAFE).// doc(new Doc("A search form with two inputs.", Format.TEXT)).// diff --git a/src/test/java/org/springframework/hateoas/client/TraversonTest.java b/src/test/java/org/springframework/hateoas/client/TraversonTest.java index 0004e3df8..1b390b5b4 100755 --- a/src/test/java/org/springframework/hateoas/client/TraversonTest.java +++ b/src/test/java/org/springframework/hateoas/client/TraversonTest.java @@ -150,7 +150,7 @@ public void readsTraversalIntoResourceInstance() { @Test public void sendsConfiguredHeadersForJsonPathExpression() { - String expectedHeader = ";rel=\"home\""; + String expectedHeader = ";rel=\"home\""; HttpHeaders headers = new HttpHeaders(); headers.add("Link", expectedHeader); @@ -169,7 +169,7 @@ public void sendsConfiguredHeadersForJsonPathExpression() { @Test public void sendsConfiguredHeadersForToEntity() { - String expectedHeader = ";rel=\"home\""; + String expectedHeader = ";rel=\"home\""; HttpHeaders headers = new HttpHeaders(); headers.add("Link", expectedHeader); diff --git a/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonLinkDiscovererUnitTest.java b/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonLinkDiscovererUnitTest.java index 12825c026..6849fcca3 100644 --- a/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonLinkDiscovererUnitTest.java +++ b/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonLinkDiscovererUnitTest.java @@ -49,7 +49,7 @@ public void spec1Links() throws IOException { Link link = this.discoverer.findLinkWithRel("self", specBasedJson); assertThat(link).isNotNull(); - assertThat(link.getHref()).isEqualTo("http://example.org/friends/"); + assertThat(link.getHref()).isEqualTo("https://example.org/friends/"); } @Test @@ -60,29 +60,29 @@ public void spec2Links() throws IOException { Link selfLink = this.discoverer.findLinkWithRel("self", specBasedJson); assertThat(selfLink).isNotNull(); - assertThat(selfLink.getHref()).isEqualTo("http://example.org/friends/"); + assertThat(selfLink.getHref()).isEqualTo("https://example.org/friends/"); Link feedLink = this.discoverer.findLinkWithRel("feed", specBasedJson); assertThat(feedLink).isNotNull(); - assertThat(feedLink.getHref()).isEqualTo("http://example.org/friends/rss"); + assertThat(feedLink.getHref()).isEqualTo("https://example.org/friends/rss"); List links = this.discoverer.findLinksWithRel("blog", specBasedJson); assertThat(links) .extracting("href") .containsExactlyInAnyOrder( - "http://examples.org/blogs/jdoe", - "http://examples.org/blogs/msmith", - "http://examples.org/blogs/rwilliams"); + "https://examples.org/blogs/jdoe", + "https://examples.org/blogs/msmith", + "https://examples.org/blogs/rwilliams"); links = this.discoverer.findLinksWithRel("avatar", specBasedJson); assertThat(links) .extracting("href") .containsExactlyInAnyOrder( - "http://examples.org/images/jdoe", - "http://examples.org/images/msmith", - "http://examples.org/images/rwilliams"); + "https://examples.org/images/jdoe", + "https://examples.org/images/msmith", + "https://examples.org/images/rwilliams"); } } diff --git a/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonSpecTest.java b/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonSpecTest.java index b9ad5fa96..c1da14770 100644 --- a/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonSpecTest.java +++ b/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonSpecTest.java @@ -68,7 +68,7 @@ public void specPart1() throws IOException { ResourceSupport resource = mapper.readValue(specBasedJson, ResourceSupport.class); assertThat(resource.getLinks()).hasSize(1); - assertThat(resource.getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("http://example.org/friends/")); + assertThat(resource.getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("https://example.org/friends/")); } /** @@ -85,29 +85,29 @@ public void specPart2() throws IOException { mapper.getTypeFactory().constructParametricType(Resource.class, Friend.class))); assertThat(resources.getLinks()).hasSize(2); - assertThat(resources.getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("http://example.org/friends/")); - assertThat(resources.getRequiredLink("feed")).isEqualTo(new Link("http://example.org/friends/rss", "feed")); + assertThat(resources.getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("https://example.org/friends/")); + assertThat(resources.getRequiredLink("feed")).isEqualTo(new Link("https://example.org/friends/rss", "feed")); assertThat(resources.getContent()).hasSize(3); List> friends = new ArrayList<>(resources.getContent()); assertThat(friends.get(0).getContent().getEmail()).isEqualTo("jdoe@example.org"); assertThat(friends.get(0).getContent().getFullname()).isEqualTo("J. Doe"); - assertThat(friends.get(0).getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("http://example.org/friends/jdoe")); - assertThat(friends.get(0).getRequiredLink("blog")).isEqualTo(new Link("http://examples.org/blogs/jdoe", "blog")); - assertThat(friends.get(0).getRequiredLink("avatar")).isEqualTo(new Link("http://examples.org/images/jdoe", "avatar")); + assertThat(friends.get(0).getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("https://example.org/friends/jdoe")); + assertThat(friends.get(0).getRequiredLink("blog")).isEqualTo(new Link("https://examples.org/blogs/jdoe", "blog")); + assertThat(friends.get(0).getRequiredLink("avatar")).isEqualTo(new Link("https://examples.org/images/jdoe", "avatar")); assertThat(friends.get(1).getContent().getEmail()).isEqualTo("msmith@example.org"); assertThat(friends.get(1).getContent().getFullname()).isEqualTo("M. Smith"); - assertThat(friends.get(1).getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("http://example.org/friends/msmith")); - assertThat(friends.get(1).getRequiredLink("blog")).isEqualTo(new Link("http://examples.org/blogs/msmith", "blog")); - assertThat(friends.get(1).getRequiredLink("avatar")).isEqualTo(new Link("http://examples.org/images/msmith", "avatar")); + assertThat(friends.get(1).getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("https://example.org/friends/msmith")); + assertThat(friends.get(1).getRequiredLink("blog")).isEqualTo(new Link("https://examples.org/blogs/msmith", "blog")); + assertThat(friends.get(1).getRequiredLink("avatar")).isEqualTo(new Link("https://examples.org/images/msmith", "avatar")); assertThat(friends.get(2).getContent().getEmail()).isEqualTo("rwilliams@example.org"); assertThat(friends.get(2).getContent().getFullname()).isEqualTo("R. Williams"); - assertThat(friends.get(2).getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("http://example.org/friends/rwilliams")); - assertThat(friends.get(2).getRequiredLink("blog")).isEqualTo(new Link("http://examples.org/blogs/rwilliams", "blog")); - assertThat(friends.get(2).getRequiredLink("avatar")).isEqualTo(new Link("http://examples.org/images/rwilliams", "avatar")); + assertThat(friends.get(2).getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("https://example.org/friends/rwilliams")); + assertThat(friends.get(2).getRequiredLink("blog")).isEqualTo(new Link("https://examples.org/blogs/rwilliams", "blog")); + assertThat(friends.get(2).getRequiredLink("avatar")).isEqualTo(new Link("https://examples.org/images/rwilliams", "avatar")); } /** @@ -123,12 +123,12 @@ public void specPart3() throws IOException { mapper.getTypeFactory().constructParametricType(Resource.class, Friend.class)); assertThat(resource.getLinks()).hasSize(6); - assertThat(resource.getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("http://example.org/friends/jdoe")); - assertThat(resource.getRequiredLink("feed")).isEqualTo(new Link("http://example.org/friends/rss", "feed")); - assertThat(resource.getRequiredLink("queries")).isEqualTo(new Link("http://example.org/friends/?queries", "queries")); - assertThat(resource.getRequiredLink("template")).isEqualTo(new Link("http://example.org/friends/?template", "template")); - assertThat(resource.getRequiredLink("blog")).isEqualTo(new Link("http://examples.org/blogs/jdoe", "blog")); - assertThat(resource.getRequiredLink("avatar")).isEqualTo(new Link("http://examples.org/images/jdoe", "avatar")); + assertThat(resource.getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("https://example.org/friends/jdoe")); + assertThat(resource.getRequiredLink("feed")).isEqualTo(new Link("https://example.org/friends/rss", "feed")); + assertThat(resource.getRequiredLink("queries")).isEqualTo(new Link("https://example.org/friends/?queries", "queries")); + assertThat(resource.getRequiredLink("template")).isEqualTo(new Link("https://example.org/friends/?template", "template")); + assertThat(resource.getRequiredLink("blog")).isEqualTo(new Link("https://examples.org/blogs/jdoe", "blog")); + assertThat(resource.getRequiredLink("avatar")).isEqualTo(new Link("https://examples.org/images/jdoe", "avatar")); assertThat(resource.getContent().getEmail()).isEqualTo("jdoe@example.org"); assertThat(resource.getContent().getFullname()).isEqualTo("J. Doe"); @@ -148,7 +148,7 @@ public void specPart4() throws IOException { mapper.getTypeFactory().constructParametricType(Resource.class, Friend.class))); assertThat(resources.getContent()).hasSize(0); - assertThat(resources.getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("http://example.org/friends/")); + assertThat(resources.getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("https://example.org/friends/")); } /** * @see http://amundsen.com/media-types/collection/examples/ - Section 5. Template Representation @@ -164,7 +164,7 @@ public void specPart5() throws IOException { mapper.getTypeFactory().constructParametricType(Resource.class, Friend.class))); assertThat(resources.getContent()).hasSize(0); - assertThat(resources.getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("http://example.org/friends/")); + assertThat(resources.getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("https://example.org/friends/")); } /** * @see http://amundsen.com/media-types/collection/examples/ - Section 6. Error Representation @@ -180,7 +180,7 @@ public void specPart6() throws IOException { mapper.getTypeFactory().constructParametricType(Resource.class, Friend.class))); assertThat(resources.getContent()).hasSize(0); - assertThat(resources.getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("http://example.org/friends/")); + assertThat(resources.getRequiredLink(Link.REL_SELF)).isEqualTo(new Link("https://example.org/friends/")); } /** * @see http://amundsen.com/media-types/collection/examples/ - Section 7. Write Representation diff --git a/src/test/java/org/springframework/hateoas/hal/DefaultCurieProviderUnitTest.java b/src/test/java/org/springframework/hateoas/hal/DefaultCurieProviderUnitTest.java index 5d9155078..dd1f8f360 100755 --- a/src/test/java/org/springframework/hateoas/hal/DefaultCurieProviderUnitTest.java +++ b/src/test/java/org/springframework/hateoas/hal/DefaultCurieProviderUnitTest.java @@ -69,17 +69,17 @@ public void preventsUriTemplateWithMoreThanOneVariable() { @Test public void doesNotPrefixIanaRels() { - assertThat(provider.getNamespacedRelFrom(new Link("http://amazon.com"))).isEqualTo("self"); + assertThat(provider.getNamespacedRelFrom(new Link("https://amazon.com"))).isEqualTo("self"); } @Test public void prefixesNormalRels() { - assertThat(provider.getNamespacedRelFrom(new Link("http://amazon.com", "book"))).isEqualTo("acme:book"); + assertThat(provider.getNamespacedRelFrom(new Link("https://amazon.com", "book"))).isEqualTo("acme:book"); } @Test public void doesNotPrefixQualifiedRels() { - assertThat(provider.getNamespacedRelFrom(new Link("http://amazon.com", "custom:rel"))).isEqualTo("custom:rel"); + assertThat(provider.getNamespacedRelFrom(new Link("https://amazon.com", "custom:rel"))).isEqualTo("custom:rel"); } /** @@ -88,12 +88,12 @@ public void doesNotPrefixQualifiedRels() { @Test public void prefixesNormalRelsThatHaveExtraRFC5988Attributes() { - Link link = new Link("http://amazon.com", "custom:rel") // + Link link = new Link("https://amazon.com", "custom:rel") // .withHreflang("en") // .withTitle("the title") // .withMedia("the media") // .withType("the type") // - .withDeprecation("http://example.com/custom/deprecated"); + .withDeprecation("https://example.com/custom/deprecated"); assertThat(provider.getNamespacedRelFrom(link)).isEqualTo("custom:rel"); } diff --git a/src/test/java/org/springframework/hateoas/hal/HalLinkDiscovererUnitTest.java b/src/test/java/org/springframework/hateoas/hal/HalLinkDiscovererUnitTest.java index c1bbc3132..56859633b 100755 --- a/src/test/java/org/springframework/hateoas/hal/HalLinkDiscovererUnitTest.java +++ b/src/test/java/org/springframework/hateoas/hal/HalLinkDiscovererUnitTest.java @@ -33,7 +33,7 @@ public class HalLinkDiscovererUnitTest extends AbstractLinkDiscovererUnitTest { static final LinkDiscoverer discoverer = new HalLinkDiscoverer(); static final String SAMPLE = "{ _links : { self : { href : 'selfHref' }, " + // "relation : [ { href : 'firstHref' }, { href : 'secondHref' }], " + // - "'http://foo.com/bar' : { href : 'fullRelHref' }, " + "}}"; + "'http://www.foo.com/bar' : { href : 'fullRelHref' }, " + "}}"; /** * @see #314 @@ -41,7 +41,7 @@ public class HalLinkDiscovererUnitTest extends AbstractLinkDiscovererUnitTest { @Test public void discoversFullyQualifiedRel() { - Link link = getDiscoverer().findLinkWithRel("http://foo.com/bar", SAMPLE); + Link link = getDiscoverer().findLinkWithRel("http://www.foo.com/bar", SAMPLE); assertThat(link).isNotNull(); assertThat(link.getHref()).isEqualTo("fullRelHref"); diff --git a/src/test/java/org/springframework/hateoas/hal/forms/HalFormsLinkDiscovererUnitTest.java b/src/test/java/org/springframework/hateoas/hal/forms/HalFormsLinkDiscovererUnitTest.java index f9d08d5e5..6acfdf72e 100644 --- a/src/test/java/org/springframework/hateoas/hal/forms/HalFormsLinkDiscovererUnitTest.java +++ b/src/test/java/org/springframework/hateoas/hal/forms/HalFormsLinkDiscovererUnitTest.java @@ -33,14 +33,14 @@ public class HalFormsLinkDiscovererUnitTest extends AbstractLinkDiscovererUnitTe static final LinkDiscoverer discoverer = new HalFormsLinkDiscoverer(); static final String SAMPLE = "{ _links : { self : { href : 'selfHref' }, " + // "relation : [ { href : 'firstHref' }, { href : 'secondHref' }], " + // - "'http://foo.com/bar' : { href : 'fullRelHref' }, " + "}}"; + "'http://www.foo.com/bar' : { href : 'fullRelHref' }, " + "}}"; /** * @see #314 */ @Test public void discoversFullyQualifiedRel() { - assertThat(getDiscoverer().findLinkWithRel("http://foo.com/bar", SAMPLE), is(notNullValue())); + assertThat(getDiscoverer().findLinkWithRel("http://www.foo.com/bar", SAMPLE), is(notNullValue())); } @Override diff --git a/src/test/resources/org/springframework/hateoas/alps/link-discoverer.json b/src/test/resources/org/springframework/hateoas/alps/link-discoverer.json index 993e277e2..532bf7262 100644 --- a/src/test/resources/org/springframework/hateoas/alps/link-discoverer.json +++ b/src/test/resources/org/springframework/hateoas/alps/link-discoverer.json @@ -1,7 +1,7 @@ { "version" : "1.0", "doc" : { - "href" : "http://example.org/samples/full/doc.html" + "href" : "https://example.org/samples/full/doc.html" }, "descriptors" : [ { "id" : "sfirst descriptor", @@ -17,7 +17,7 @@ "href" : "selfHref" }, { "id" : "fully qualified descriptor", - "name" : "http://foo.com/bar", + "name" : "http://www.foo.com/bar", "href" : "fullRelHref" } ] } diff --git a/src/test/resources/org/springframework/hateoas/alps/reference.json b/src/test/resources/org/springframework/hateoas/alps/reference.json index ffbd4dc24..82aab90d5 100644 --- a/src/test/resources/org/springframework/hateoas/alps/reference.json +++ b/src/test/resources/org/springframework/hateoas/alps/reference.json @@ -1,7 +1,7 @@ { "version" : "1.0", "doc" : { - "href" : "http://example.org/samples/full/doc.html" + "href" : "https://example.org/samples/full/doc.html" }, "descriptor" : [ { "id" : "search", diff --git a/src/test/resources/org/springframework/hateoas/collectionjson/spec-part1.json b/src/test/resources/org/springframework/hateoas/collectionjson/spec-part1.json index cc3ba489c..74cf98367 100644 --- a/src/test/resources/org/springframework/hateoas/collectionjson/spec-part1.json +++ b/src/test/resources/org/springframework/hateoas/collectionjson/spec-part1.json @@ -1,6 +1,6 @@ { "collection": { "version": "1.0", - "href": "http://example.org/friends/" + "href": "https://example.org/friends/" } } \ No newline at end of file diff --git a/src/test/resources/org/springframework/hateoas/collectionjson/spec-part2.json b/src/test/resources/org/springframework/hateoas/collectionjson/spec-part2.json index 613a9f24f..7bfbe7b0f 100644 --- a/src/test/resources/org/springframework/hateoas/collectionjson/spec-part2.json +++ b/src/test/resources/org/springframework/hateoas/collectionjson/spec-part2.json @@ -1,16 +1,16 @@ { "collection": { "version": "1.0", - "href": "http://example.org/friends/", + "href": "https://example.org/friends/", "links": [ { "rel": "feed", - "href": "http://example.org/friends/rss" + "href": "https://example.org/friends/rss" } ], "items": [ { - "href": "http://example.org/friends/jdoe", + "href": "https://example.org/friends/jdoe", "data": [ { "name": "fullname", @@ -26,19 +26,19 @@ "links": [ { "rel": "blog", - "href": "http://examples.org/blogs/jdoe", + "href": "https://examples.org/blogs/jdoe", "prompt": "Blog" }, { "rel": "avatar", - "href": "http://examples.org/images/jdoe", + "href": "https://examples.org/images/jdoe", "prompt": "Avatar", "render": "image" } ] }, { - "href": "http://example.org/friends/msmith", + "href": "https://example.org/friends/msmith", "data": [ { "name": "fullname", @@ -54,19 +54,19 @@ "links": [ { "rel": "blog", - "href": "http://examples.org/blogs/msmith", + "href": "https://examples.org/blogs/msmith", "prompt": "Blog" }, { "rel": "avatar", - "href": "http://examples.org/images/msmith", + "href": "https://examples.org/images/msmith", "prompt": "Avatar", "render": "image" } ] }, { - "href": "http://example.org/friends/rwilliams", + "href": "https://example.org/friends/rwilliams", "data": [ { "name": "fullname", @@ -82,12 +82,12 @@ "links": [ { "rel": "blog", - "href": "http://examples.org/blogs/rwilliams", + "href": "https://examples.org/blogs/rwilliams", "prompt": "Blog" }, { "rel": "avatar", - "href": "http://examples.org/images/rwilliams", + "href": "https://examples.org/images/rwilliams", "prompt": "Avatar", "render": "image" } @@ -97,7 +97,7 @@ "queries": [ { "rel": "search", - "href": "http://example.org/friends/search", + "href": "https://example.org/friends/search", "prompt": "Search", "data": [ { diff --git a/src/test/resources/org/springframework/hateoas/collectionjson/spec-part3.json b/src/test/resources/org/springframework/hateoas/collectionjson/spec-part3.json index 85c4d48bb..87029fd93 100644 --- a/src/test/resources/org/springframework/hateoas/collectionjson/spec-part3.json +++ b/src/test/resources/org/springframework/hateoas/collectionjson/spec-part3.json @@ -1,24 +1,24 @@ { "collection": { "version": "1.0", - "href": "http://example.org/friends/", + "href": "https://example.org/friends/", "links": [ { "rel": "feed", - "href": "http://example.org/friends/rss" + "href": "https://example.org/friends/rss" }, { "rel": "queries", - "href": "http://example.org/friends/?queries" + "href": "https://example.org/friends/?queries" }, { "rel": "template", - "href": "http://example.org/friends/?template" + "href": "https://example.org/friends/?template" } ], "items": [ { - "href": "http://example.org/friends/jdoe", + "href": "https://example.org/friends/jdoe", "data": [ { "name": "fullname", @@ -34,12 +34,12 @@ "links": [ { "rel": "blog", - "href": "http://examples.org/blogs/jdoe", + "href": "https://examples.org/blogs/jdoe", "prompt": "Blog" }, { "rel": "avatar", - "href": "http://examples.org/images/jdoe", + "href": "https://examples.org/images/jdoe", "prompt": "Avatar", "render": "image" } diff --git a/src/test/resources/org/springframework/hateoas/collectionjson/spec-part4.json b/src/test/resources/org/springframework/hateoas/collectionjson/spec-part4.json index 071694a10..ea88a2346 100644 --- a/src/test/resources/org/springframework/hateoas/collectionjson/spec-part4.json +++ b/src/test/resources/org/springframework/hateoas/collectionjson/spec-part4.json @@ -1,11 +1,11 @@ { "collection": { "version": "1.0", - "href": "http://example.org/friends/", + "href": "https://example.org/friends/", "queries": [ { "rel": "search", - "href": "http://example.org/friends/search", + "href": "https://example.org/friends/search", "prompt": "Search", "data": [ { diff --git a/src/test/resources/org/springframework/hateoas/collectionjson/spec-part5.json b/src/test/resources/org/springframework/hateoas/collectionjson/spec-part5.json index c9bc6620a..f1ae4332b 100644 --- a/src/test/resources/org/springframework/hateoas/collectionjson/spec-part5.json +++ b/src/test/resources/org/springframework/hateoas/collectionjson/spec-part5.json @@ -1,7 +1,7 @@ { "collection": { "version": "1.0", - "href": "http://example.org/friends/", + "href": "https://example.org/friends/", "template": { "data": [ { diff --git a/src/test/resources/org/springframework/hateoas/collectionjson/spec-part6.json b/src/test/resources/org/springframework/hateoas/collectionjson/spec-part6.json index f07cf1fb5..217579433 100644 --- a/src/test/resources/org/springframework/hateoas/collectionjson/spec-part6.json +++ b/src/test/resources/org/springframework/hateoas/collectionjson/spec-part6.json @@ -1,7 +1,7 @@ { "collection": { "version": "1.0", - "href": "http://example.org/friends/", + "href": "https://example.org/friends/", "error": { "title": "Server Error", "code": "X1C2", diff --git a/src/test/resources/org/springframework/hateoas/collectionjson/spec-part7-adjusted.json b/src/test/resources/org/springframework/hateoas/collectionjson/spec-part7-adjusted.json index d384965bb..9ef5ddba0 100644 --- a/src/test/resources/org/springframework/hateoas/collectionjson/spec-part7-adjusted.json +++ b/src/test/resources/org/springframework/hateoas/collectionjson/spec-part7-adjusted.json @@ -11,11 +11,11 @@ }, { "name": "blog", - "value": "http://example.org/blogs/wchandry" + "value": "https://example.org/blogs/wchandry" }, { "name": "avatar", - "value": "http://example.org/images/wchandry" + "value": "https://example.org/images/wchandry" } ] } diff --git a/src/test/resources/org/springframework/hateoas/collectionjson/spec-part7.json b/src/test/resources/org/springframework/hateoas/collectionjson/spec-part7.json index 7bf9c32d2..7aff575f1 100644 --- a/src/test/resources/org/springframework/hateoas/collectionjson/spec-part7.json +++ b/src/test/resources/org/springframework/hateoas/collectionjson/spec-part7.json @@ -11,11 +11,11 @@ }, { "name": "blog", - "value": "http://example.org/blogs/wchandry" + "value": "https://example.org/blogs/wchandry" }, { "name": "avatar", - "value": "http://example.org/images/wchandry" + "value": "https://example.org/images/wchandry" } ] } diff --git a/src/test/resources/vnderror-single-item.json b/src/test/resources/vnderror-single-item.json index dffc6c4df..2418d262c 100644 --- a/src/test/resources/vnderror-single-item.json +++ b/src/test/resources/vnderror-single-item.json @@ -4,13 +4,13 @@ "logref" : 42, "_links" : { "about" : { - "href" : "http://path.to/user/resource/1" + "href" : "https://path.to/user/resource/1" }, "describes" : { - "href" : "http://path.to/describes" + "href" : "https://path.to/describes" }, "help" : { - "href" : "http://path.to/help" + "href" : "https://path.to/help" } } } diff --git a/src/test/resources/vnderrors-multiple-item.json b/src/test/resources/vnderrors-multiple-item.json index c1ada65b4..e3ed438a2 100644 --- a/src/test/resources/vnderrors-multiple-item.json +++ b/src/test/resources/vnderrors-multiple-item.json @@ -6,7 +6,7 @@ "logref" : 50, "_links" : { "help" : { - "href" : "http://.../" + "href" : "https://.../" } } }, { @@ -14,7 +14,7 @@ "logref" : 55, "_links" : { "help" : { - "href" : "http://.../" + "href" : "https://.../" } } } ] diff --git a/src/test/resources/vnderrors-nested.json b/src/test/resources/vnderrors-nested.json index a147c54e3..e1cd93495 100644 --- a/src/test/resources/vnderrors-nested.json +++ b/src/test/resources/vnderrors-nested.json @@ -4,13 +4,13 @@ "total" : 1, "_links" : { "describes" : { - "href" : "http://path.to/describes" + "href" : "https://path.to/describes" }, "help" : { - "href" : "http://path.to/help" + "href" : "https://path.to/help" }, "about" : { - "href" : "http://path.to/user/resource/1" + "href" : "https://path.to/user/resource/1" } }, "_embedded" : { @@ -19,7 +19,7 @@ "path" : "/username", "_links" : { "about" : { - "href" : "http://path.to/user/resource/1" + "href" : "https://path.to/user/resource/1" } } } ] From 6d73e31027af0f8bfbf60e74080ed43e56a8b233 Mon Sep 17 00:00:00 2001 From: Spring Operator Date: Mon, 1 Apr 2019 08:13:56 -0700 Subject: [PATCH 4/5] #910 - URL Cleanup. This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # Fixed URLs ## Fixed Success These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 1 occurrences migrated to: https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200). * [ ] http://www.springframework.org/schema/context/spring-context.xsd with 1 occurrences migrated to: https://www.springframework.org/schema/context/spring-context.xsd ([https](https://www.springframework.org/schema/context/spring-context.xsd) result 200). # Ignored These URLs were intentionally ignored. * http://maven.apache.org/POM/4.0.0 with 2 occurrences * http://www.springframework.org/schema/beans with 2 occurrences * http://www.springframework.org/schema/context with 2 occurrences * http://www.w3.org/2001/XMLSchema-instance with 2 occurrences * http://www.w3.org/2005/Atom with 1 occurrences --- .../springframework/hateoas/config/application-context.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/resources/org/springframework/hateoas/config/application-context.xml b/src/test/resources/org/springframework/hateoas/config/application-context.xml index a1755ca08..9d6390912 100644 --- a/src/test/resources/org/springframework/hateoas/config/application-context.xml +++ b/src/test/resources/org/springframework/hateoas/config/application-context.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"> From acf828fcac2e94999c75e8adfe4eb0fbcfa8d70f Mon Sep 17 00:00:00 2001 From: Spring Operator Date: Mon, 1 Apr 2019 08:17:09 -0700 Subject: [PATCH 5/5] #910 - URL Cleanup. This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # Fixed URLs ## Fixed Success These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * [ ] http://www.apache.org/licenses/ with 2 occurrences migrated to: https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200). * [ ] http://www.apache.org/licenses/LICENSE-2.0 with 195 occurrences migrated to: https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200). --- LICENSE | 4 ++-- src/main/java/org/springframework/hateoas/Affordance.java | 2 +- .../java/org/springframework/hateoas/AffordanceModel.java | 2 +- src/main/java/org/springframework/hateoas/EntityLinks.java | 2 +- .../java/org/springframework/hateoas/ExposesResourceFor.java | 2 +- src/main/java/org/springframework/hateoas/IanaRels.java | 2 +- src/main/java/org/springframework/hateoas/Identifiable.java | 2 +- src/main/java/org/springframework/hateoas/Link.java | 2 +- src/main/java/org/springframework/hateoas/LinkBuilder.java | 2 +- .../java/org/springframework/hateoas/LinkBuilderFactory.java | 2 +- src/main/java/org/springframework/hateoas/LinkDiscoverer.java | 2 +- .../java/org/springframework/hateoas/LinkDiscoverers.java | 2 +- src/main/java/org/springframework/hateoas/Links.java | 2 +- src/main/java/org/springframework/hateoas/MediaTypes.java | 2 +- .../org/springframework/hateoas/MethodLinkBuilderFactory.java | 2 +- src/main/java/org/springframework/hateoas/PagedResources.java | 2 +- src/main/java/org/springframework/hateoas/QueryParameter.java | 2 +- src/main/java/org/springframework/hateoas/RelProvider.java | 2 +- src/main/java/org/springframework/hateoas/Resource.java | 2 +- .../java/org/springframework/hateoas/ResourceAssembler.java | 2 +- .../java/org/springframework/hateoas/ResourceProcessor.java | 2 +- .../java/org/springframework/hateoas/ResourceSupport.java | 2 +- src/main/java/org/springframework/hateoas/Resources.java | 2 +- .../java/org/springframework/hateoas/TemplateVariable.java | 2 +- .../java/org/springframework/hateoas/TemplateVariables.java | 2 +- src/main/java/org/springframework/hateoas/UriTemplate.java | 2 +- src/main/java/org/springframework/hateoas/VndErrors.java | 2 +- src/main/java/org/springframework/hateoas/alps/Alps.java | 2 +- .../org/springframework/hateoas/alps/AlpsLinkDiscoverer.java | 2 +- .../java/org/springframework/hateoas/alps/Descriptor.java | 2 +- src/main/java/org/springframework/hateoas/alps/Doc.java | 2 +- src/main/java/org/springframework/hateoas/alps/Ext.java | 2 +- src/main/java/org/springframework/hateoas/alps/Format.java | 2 +- src/main/java/org/springframework/hateoas/alps/Type.java | 2 +- src/main/java/org/springframework/hateoas/client/Hop.java | 2 +- src/main/java/org/springframework/hateoas/client/Rels.java | 2 +- .../java/org/springframework/hateoas/client/Traverson.java | 2 +- .../hateoas/collectionjson/CollectionJson.java | 2 +- .../hateoas/collectionjson/CollectionJsonAffordanceModel.java | 2 +- .../collectionjson/CollectionJsonAffordanceModelFactory.java | 2 +- .../hateoas/collectionjson/CollectionJsonData.java | 2 +- .../hateoas/collectionjson/CollectionJsonDocument.java | 2 +- .../hateoas/collectionjson/CollectionJsonError.java | 2 +- .../hateoas/collectionjson/CollectionJsonItem.java | 2 +- .../hateoas/collectionjson/CollectionJsonLinkDiscoverer.java | 2 +- .../hateoas/collectionjson/CollectionJsonQuery.java | 2 +- .../hateoas/collectionjson/CollectionJsonTemplate.java | 2 +- .../hateoas/collectionjson/Jackson2CollectionJsonModule.java | 2 +- .../hateoas/collectionjson/PagedResourcesMixin.java | 2 +- .../springframework/hateoas/collectionjson/ResourceMixin.java | 2 +- .../hateoas/collectionjson/ResourceSupportMixin.java | 2 +- .../hateoas/collectionjson/ResourcesMixin.java | 2 +- .../hateoas/config/ConverterRegisteringBeanPostProcessor.java | 2 +- .../hateoas/config/ConverterRegisteringWebMvcConfigurer.java | 2 +- .../org/springframework/hateoas/config/EnableEntityLinks.java | 2 +- .../hateoas/config/EnableHypermediaSupport.java | 2 +- .../hateoas/config/EntityLinksConfiguration.java | 2 +- .../springframework/hateoas/config/HateoasConfiguration.java | 2 +- .../config/HypermediaSupportBeanDefinitionRegistrar.java | 2 +- .../org/springframework/hateoas/core/AbstractEntityLinks.java | 2 +- .../springframework/hateoas/core/AffordanceModelFactory.java | 2 +- .../org/springframework/hateoas/core/AnnotationAttribute.java | 2 +- .../hateoas/core/AnnotationMappingDiscoverer.java | 2 +- .../springframework/hateoas/core/AnnotationRelProvider.java | 2 +- .../springframework/hateoas/core/ControllerEntityLinks.java | 2 +- .../hateoas/core/ControllerEntityLinksFactoryBean.java | 2 +- .../org/springframework/hateoas/core/DefaultRelProvider.java | 2 +- .../springframework/hateoas/core/DelegatingEntityLinks.java | 2 +- .../springframework/hateoas/core/DelegatingRelProvider.java | 2 +- .../springframework/hateoas/core/DummyInvocationUtils.java | 2 +- .../org/springframework/hateoas/core/EmbeddedWrapper.java | 2 +- .../org/springframework/hateoas/core/EmbeddedWrappers.java | 2 +- .../java/org/springframework/hateoas/core/EncodingUtils.java | 2 +- .../springframework/hateoas/core/EvoInflectorRelProvider.java | 2 +- .../springframework/hateoas/core/JsonPathLinkDiscoverer.java | 2 +- .../org/springframework/hateoas/core/LinkBuilderSupport.java | 2 +- .../org/springframework/hateoas/core/MappingDiscoverer.java | 2 +- .../org/springframework/hateoas/core/MethodParameters.java | 2 +- src/main/java/org/springframework/hateoas/core/Objects.java | 2 +- src/main/java/org/springframework/hateoas/core/Relation.java | 2 +- .../java/org/springframework/hateoas/hal/CurieProvider.java | 2 +- .../org/springframework/hateoas/hal/DefaultCurieProvider.java | 2 +- .../org/springframework/hateoas/hal/HalConfiguration.java | 2 +- .../org/springframework/hateoas/hal/HalEmbeddedBuilder.java | 2 +- .../org/springframework/hateoas/hal/HalLinkDiscoverer.java | 2 +- .../org/springframework/hateoas/hal/Jackson2HalModule.java | 2 +- src/main/java/org/springframework/hateoas/hal/LinkMixin.java | 2 +- .../org/springframework/hateoas/hal/ResourceSupportMixin.java | 2 +- .../java/org/springframework/hateoas/hal/ResourcesMixin.java | 2 +- .../hateoas/hal/forms/HalFormsAffordanceModel.java | 2 +- .../hateoas/hal/forms/HalFormsAffordanceModelFactory.java | 2 +- .../hateoas/hal/forms/HalFormsConfiguration.java | 2 +- .../hateoas/hal/forms/HalFormsDeserializers.java | 2 +- .../springframework/hateoas/hal/forms/HalFormsDocument.java | 2 +- .../hateoas/hal/forms/HalFormsLinkDiscoverer.java | 2 +- .../springframework/hateoas/hal/forms/HalFormsProperty.java | 2 +- .../hateoas/hal/forms/HalFormsSerializers.java | 2 +- .../springframework/hateoas/hal/forms/HalFormsTemplate.java | 2 +- .../hateoas/hal/forms/Jackson2HalFormsModule.java | 2 +- .../hateoas/mvc/AnnotatedParametersParameterAccessor.java | 2 +- .../org/springframework/hateoas/mvc/BasicLinkBuilder.java | 2 +- .../springframework/hateoas/mvc/ControllerLinkBuilder.java | 2 +- .../hateoas/mvc/ControllerLinkBuilderFactory.java | 2 +- .../springframework/hateoas/mvc/ControllerRelProvider.java | 2 +- .../java/org/springframework/hateoas/mvc/ForwardedHeader.java | 2 +- .../hateoas/mvc/HeaderLinksResponseEntity.java | 2 +- .../hateoas/mvc/IdentifiableResourceAssemblerSupport.java | 2 +- .../org/springframework/hateoas/mvc/JacksonSerializers.java | 2 +- .../springframework/hateoas/mvc/ResourceAssemblerSupport.java | 2 +- .../mvc/ResourceProcessorHandlerMethodReturnValueHandler.java | 2 +- .../springframework/hateoas/mvc/ResourceProcessorInvoker.java | 2 +- .../hateoas/mvc/ResourceProcessorInvokingHandlerAdapter.java | 2 +- .../org/springframework/hateoas/mvc/SpringMvcAffordance.java | 2 +- .../hateoas/mvc/SpringMvcAffordanceBuilder.java | 2 +- .../TypeConstrainedMappingJackson2HttpMessageConverter.java | 2 +- .../java/org/springframework/hateoas/mvc/TypeReferences.java | 2 +- .../springframework/hateoas/mvc/UriComponentsContributor.java | 2 +- src/main/java/org/springframework/hateoas/package-info.java | 2 +- .../org/springframework/hateoas/support/JacksonHelper.java | 2 +- .../org/springframework/hateoas/support/PropertyUtils.java | 2 +- src/main/resources/license.txt | 4 ++-- .../hateoas/AbstractJackson2MarshallingIntegrationTest.java | 2 +- .../springframework/hateoas/Jackson2LinkIntegrationTest.java | 2 +- .../hateoas/Jackson2PagedResourcesIntegrationTest.java | 2 +- .../hateoas/Jackson2ResourceSupportIntegrationTest.java | 2 +- .../org/springframework/hateoas/LinkDiscoverersUnitTest.java | 2 +- .../java/org/springframework/hateoas/LinkIntegrationTest.java | 2 +- src/test/java/org/springframework/hateoas/LinkUnitTest.java | 2 +- src/test/java/org/springframework/hateoas/LinksUnitTest.java | 2 +- .../org/springframework/hateoas/PagedResourcesUnitTest.java | 2 +- .../org/springframework/hateoas/ResourceIntegrationTest.java | 2 +- .../hateoas/ResourceSupportIntegrationTest.java | 2 +- .../org/springframework/hateoas/ResourceSupportUnitTest.java | 2 +- .../java/org/springframework/hateoas/ResourceUnitTest.java | 2 +- .../java/org/springframework/hateoas/ResourcesUnitTest.java | 2 +- .../springframework/hateoas/TemplateVariablesUnitTest.java | 2 +- src/test/java/org/springframework/hateoas/TestUtils.java | 2 +- .../java/org/springframework/hateoas/UriTemplateUnitTest.java | 2 +- .../org/springframework/hateoas/VndErrorsMarshallingTest.java | 2 +- .../java/org/springframework/hateoas/VndErrorsUnitTest.java | 2 +- .../hateoas/alps/AlpsLinkDiscoverUnitTest.java | 2 +- .../hateoas/alps/JacksonSerializationTest.java | 2 +- src/test/java/org/springframework/hateoas/client/Actor.java | 2 +- .../java/org/springframework/hateoas/client/HopUnitTest.java | 2 +- src/test/java/org/springframework/hateoas/client/Item.java | 2 +- src/test/java/org/springframework/hateoas/client/Movie.java | 2 +- src/test/java/org/springframework/hateoas/client/Server.java | 2 +- .../org/springframework/hateoas/client/TraversonTest.java | 2 +- .../collectionjson/CollectionJsonLinkDiscovererUnitTest.java | 2 +- .../hateoas/collectionjson/CollectionJsonSpecTest.java | 2 +- .../collectionjson/CollectionJsonWebMvcIntegrationTest.java | 2 +- .../collectionjson/Jackson2CollectionJsonIntegrationTest.java | 2 +- .../hateoas/collectionjson/JacksonSerializationTest.java | 2 +- .../hateoas/config/EnableEntityLinksIntegrationTest.java | 2 +- .../config/EnableHypermediaSupportIntegrationTest.java | 2 +- .../hateoas/config/XmlConfigurationIntegrationTest.java | 2 +- .../hateoas/core/AbstractLinkDiscovererUnitTest.java | 2 +- .../hateoas/core/AnnotationMappingDiscovererUnitTest.java | 2 +- .../core/ControllerEntityLinksFactoryBeanUnitTest.java | 2 +- .../hateoas/core/ControllerEntityLinksUnitTest.java | 2 +- .../hateoas/core/DelegatingEntityLinksUnitTest.java | 2 +- .../hateoas/core/DelegatingRelProviderUnitTest.java | 2 +- .../hateoas/core/EmbeddedWrappersUnitTest.java | 2 +- .../hateoas/core/EvoInflectorRelProviderUnitTest.java | 2 +- .../hateoas/core/JsonPathLinkDiscovererUnitTest.java | 2 +- .../hateoas/core/LinkBuilderSupportUnitTest.java | 2 +- .../hateoas/core/MethodParametersUnitTest.java | 2 +- .../hateoas/hal/DefaultCurieProviderUnitTest.java | 2 +- .../hateoas/hal/HalEmbeddedBuilderUnitTest.java | 2 +- .../hateoas/hal/HalLinkDiscovererUnitTest.java | 2 +- .../hateoas/hal/Jackson2HalIntegrationTest.java | 2 +- .../hal/RenderHypermediaForDefaultAcceptHeadersTest.java | 2 +- .../hateoas/hal/forms/HalFormsLinkDiscovererUnitTest.java | 2 +- .../hateoas/hal/forms/HalFormsMessageConverterUnitTest.java | 2 +- .../hateoas/hal/forms/HalFormsValidationIntegrationTest.java | 2 +- .../hateoas/hal/forms/HalFormsWebMvcIntegrationTest.java | 2 +- .../hateoas/hal/forms/Jackson2HalFormsIntegrationTest.java | 2 +- .../hateoas/mvc/ControllerLinkBuilderFactoryUnitTest.java | 2 +- .../mvc/ControllerLinkBuilderOutsideSpringMvcUnitTest.java | 2 +- .../hateoas/mvc/ControllerLinkBuilderUnitTest.java | 2 +- .../hateoas/mvc/DummyInvocationUtilsUnitTest.java | 2 +- .../springframework/hateoas/mvc/ForwardedHeaderUnitTest.java | 2 +- .../hateoas/mvc/HeaderLinksResponseEntityUnitTest.java | 2 +- .../org/springframework/hateoas/mvc/HttpEntityMatcher.java | 2 +- .../mvc/IdentifiableResourceAssemblerSupportUnitTest.java | 2 +- .../hateoas/mvc/MultiMediatypeWebMvcIntegrationTest.java | 2 +- ...ourceProcessorHandlerMethodReturnValueHandlerUnitTest.java | 2 +- .../hateoas/mvc/SpringMvcAffordanceBuilderUnitTest.java | 2 +- ...onstrainedMappingJackson2HttpMessageConverterUnitTest.java | 2 +- .../hateoas/mvc/TypeReferencesIntegrationTest.java | 2 +- .../org/springframework/hateoas/support/ChangelogCreator.java | 2 +- .../java/org/springframework/hateoas/support/Employee.java | 2 +- .../org/springframework/hateoas/support/EmployeeResource.java | 2 +- .../org/springframework/hateoas/support/MappingUtils.java | 2 +- .../springframework/hateoas/support/PropertyUtilsTest.java | 2 +- 195 files changed, 197 insertions(+), 197 deletions(-) diff --git a/LICENSE b/LICENSE index 8dada3eda..9b259bdfc 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ Apache License Version 2.0, January 2004 - http://www.apache.org/licenses/ + https://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -192,7 +192,7 @@ you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/Affordance.java b/src/main/java/org/springframework/hateoas/Affordance.java index 660eec31c..5ecc86526 100644 --- a/src/main/java/org/springframework/hateoas/Affordance.java +++ b/src/main/java/org/springframework/hateoas/Affordance.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/AffordanceModel.java b/src/main/java/org/springframework/hateoas/AffordanceModel.java index 997a7ab1c..fc50995e0 100644 --- a/src/main/java/org/springframework/hateoas/AffordanceModel.java +++ b/src/main/java/org/springframework/hateoas/AffordanceModel.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/EntityLinks.java b/src/main/java/org/springframework/hateoas/EntityLinks.java index f66ad069e..523d1bf9c 100644 --- a/src/main/java/org/springframework/hateoas/EntityLinks.java +++ b/src/main/java/org/springframework/hateoas/EntityLinks.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/ExposesResourceFor.java b/src/main/java/org/springframework/hateoas/ExposesResourceFor.java index 2ae922439..61f409ff7 100644 --- a/src/main/java/org/springframework/hateoas/ExposesResourceFor.java +++ b/src/main/java/org/springframework/hateoas/ExposesResourceFor.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/IanaRels.java b/src/main/java/org/springframework/hateoas/IanaRels.java index 8a00c8b8b..b666b9bb6 100644 --- a/src/main/java/org/springframework/hateoas/IanaRels.java +++ b/src/main/java/org/springframework/hateoas/IanaRels.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/Identifiable.java b/src/main/java/org/springframework/hateoas/Identifiable.java index 88688ff58..15ff1ec55 100644 --- a/src/main/java/org/springframework/hateoas/Identifiable.java +++ b/src/main/java/org/springframework/hateoas/Identifiable.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/Link.java b/src/main/java/org/springframework/hateoas/Link.java index 4b8981294..a331323c0 100755 --- a/src/main/java/org/springframework/hateoas/Link.java +++ b/src/main/java/org/springframework/hateoas/Link.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/LinkBuilder.java b/src/main/java/org/springframework/hateoas/LinkBuilder.java index 88b72e3ee..cf5b59427 100644 --- a/src/main/java/org/springframework/hateoas/LinkBuilder.java +++ b/src/main/java/org/springframework/hateoas/LinkBuilder.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/LinkBuilderFactory.java b/src/main/java/org/springframework/hateoas/LinkBuilderFactory.java index 84cde679b..58863469d 100644 --- a/src/main/java/org/springframework/hateoas/LinkBuilderFactory.java +++ b/src/main/java/org/springframework/hateoas/LinkBuilderFactory.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/LinkDiscoverer.java b/src/main/java/org/springframework/hateoas/LinkDiscoverer.java index 81f9c612d..d621d0a39 100644 --- a/src/main/java/org/springframework/hateoas/LinkDiscoverer.java +++ b/src/main/java/org/springframework/hateoas/LinkDiscoverer.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/LinkDiscoverers.java b/src/main/java/org/springframework/hateoas/LinkDiscoverers.java index 810e1de9a..ec11114a0 100644 --- a/src/main/java/org/springframework/hateoas/LinkDiscoverers.java +++ b/src/main/java/org/springframework/hateoas/LinkDiscoverers.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/Links.java b/src/main/java/org/springframework/hateoas/Links.java index a8afb7511..6f3341fd2 100644 --- a/src/main/java/org/springframework/hateoas/Links.java +++ b/src/main/java/org/springframework/hateoas/Links.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/MediaTypes.java b/src/main/java/org/springframework/hateoas/MediaTypes.java index 5d0195d8f..dbbb6fbb3 100644 --- a/src/main/java/org/springframework/hateoas/MediaTypes.java +++ b/src/main/java/org/springframework/hateoas/MediaTypes.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/MethodLinkBuilderFactory.java b/src/main/java/org/springframework/hateoas/MethodLinkBuilderFactory.java index 1f990b982..3fa77d161 100644 --- a/src/main/java/org/springframework/hateoas/MethodLinkBuilderFactory.java +++ b/src/main/java/org/springframework/hateoas/MethodLinkBuilderFactory.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/PagedResources.java b/src/main/java/org/springframework/hateoas/PagedResources.java index 8b40fd148..3689a1648 100644 --- a/src/main/java/org/springframework/hateoas/PagedResources.java +++ b/src/main/java/org/springframework/hateoas/PagedResources.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/QueryParameter.java b/src/main/java/org/springframework/hateoas/QueryParameter.java index eb25afaf3..bc8d772f5 100644 --- a/src/main/java/org/springframework/hateoas/QueryParameter.java +++ b/src/main/java/org/springframework/hateoas/QueryParameter.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/RelProvider.java b/src/main/java/org/springframework/hateoas/RelProvider.java index 56734a7ae..5fbc2266a 100644 --- a/src/main/java/org/springframework/hateoas/RelProvider.java +++ b/src/main/java/org/springframework/hateoas/RelProvider.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/Resource.java b/src/main/java/org/springframework/hateoas/Resource.java index 51bf64984..2fa463ad9 100644 --- a/src/main/java/org/springframework/hateoas/Resource.java +++ b/src/main/java/org/springframework/hateoas/Resource.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/ResourceAssembler.java b/src/main/java/org/springframework/hateoas/ResourceAssembler.java index a5b50c396..646fa824c 100755 --- a/src/main/java/org/springframework/hateoas/ResourceAssembler.java +++ b/src/main/java/org/springframework/hateoas/ResourceAssembler.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/ResourceProcessor.java b/src/main/java/org/springframework/hateoas/ResourceProcessor.java index e66eca16a..091592d92 100644 --- a/src/main/java/org/springframework/hateoas/ResourceProcessor.java +++ b/src/main/java/org/springframework/hateoas/ResourceProcessor.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/ResourceSupport.java b/src/main/java/org/springframework/hateoas/ResourceSupport.java index 36741f209..4330fcac6 100755 --- a/src/main/java/org/springframework/hateoas/ResourceSupport.java +++ b/src/main/java/org/springframework/hateoas/ResourceSupport.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/Resources.java b/src/main/java/org/springframework/hateoas/Resources.java index 8edec9237..a8b495a44 100644 --- a/src/main/java/org/springframework/hateoas/Resources.java +++ b/src/main/java/org/springframework/hateoas/Resources.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/TemplateVariable.java b/src/main/java/org/springframework/hateoas/TemplateVariable.java index 2411fb611..52675f01e 100644 --- a/src/main/java/org/springframework/hateoas/TemplateVariable.java +++ b/src/main/java/org/springframework/hateoas/TemplateVariable.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/TemplateVariables.java b/src/main/java/org/springframework/hateoas/TemplateVariables.java index 9488b5ffc..39e90b1a3 100644 --- a/src/main/java/org/springframework/hateoas/TemplateVariables.java +++ b/src/main/java/org/springframework/hateoas/TemplateVariables.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/UriTemplate.java b/src/main/java/org/springframework/hateoas/UriTemplate.java index 0cf80e7c8..8f6abc25a 100644 --- a/src/main/java/org/springframework/hateoas/UriTemplate.java +++ b/src/main/java/org/springframework/hateoas/UriTemplate.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/VndErrors.java b/src/main/java/org/springframework/hateoas/VndErrors.java index 6fd153d55..949c2d23b 100644 --- a/src/main/java/org/springframework/hateoas/VndErrors.java +++ b/src/main/java/org/springframework/hateoas/VndErrors.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/alps/Alps.java b/src/main/java/org/springframework/hateoas/alps/Alps.java index 4ec098b2e..f3ca5dfa0 100644 --- a/src/main/java/org/springframework/hateoas/alps/Alps.java +++ b/src/main/java/org/springframework/hateoas/alps/Alps.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/alps/AlpsLinkDiscoverer.java b/src/main/java/org/springframework/hateoas/alps/AlpsLinkDiscoverer.java index 9d1bec4a1..23594155b 100644 --- a/src/main/java/org/springframework/hateoas/alps/AlpsLinkDiscoverer.java +++ b/src/main/java/org/springframework/hateoas/alps/AlpsLinkDiscoverer.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/alps/Descriptor.java b/src/main/java/org/springframework/hateoas/alps/Descriptor.java index 13a9883ee..f90d74c65 100644 --- a/src/main/java/org/springframework/hateoas/alps/Descriptor.java +++ b/src/main/java/org/springframework/hateoas/alps/Descriptor.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/alps/Doc.java b/src/main/java/org/springframework/hateoas/alps/Doc.java index a3eaca6d8..44b057179 100644 --- a/src/main/java/org/springframework/hateoas/alps/Doc.java +++ b/src/main/java/org/springframework/hateoas/alps/Doc.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/alps/Ext.java b/src/main/java/org/springframework/hateoas/alps/Ext.java index fedc1c11b..b71962edf 100644 --- a/src/main/java/org/springframework/hateoas/alps/Ext.java +++ b/src/main/java/org/springframework/hateoas/alps/Ext.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/alps/Format.java b/src/main/java/org/springframework/hateoas/alps/Format.java index 5b18e5537..0d94cbc98 100644 --- a/src/main/java/org/springframework/hateoas/alps/Format.java +++ b/src/main/java/org/springframework/hateoas/alps/Format.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/alps/Type.java b/src/main/java/org/springframework/hateoas/alps/Type.java index 88299d64f..f38b6fda6 100644 --- a/src/main/java/org/springframework/hateoas/alps/Type.java +++ b/src/main/java/org/springframework/hateoas/alps/Type.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/client/Hop.java b/src/main/java/org/springframework/hateoas/client/Hop.java index 9f60827ab..3c55413e7 100644 --- a/src/main/java/org/springframework/hateoas/client/Hop.java +++ b/src/main/java/org/springframework/hateoas/client/Hop.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/client/Rels.java b/src/main/java/org/springframework/hateoas/client/Rels.java index 74b4ff5e0..da66ed5d4 100644 --- a/src/main/java/org/springframework/hateoas/client/Rels.java +++ b/src/main/java/org/springframework/hateoas/client/Rels.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/client/Traverson.java b/src/main/java/org/springframework/hateoas/client/Traverson.java index e42db23f7..58dee4221 100644 --- a/src/main/java/org/springframework/hateoas/client/Traverson.java +++ b/src/main/java/org/springframework/hateoas/client/Traverson.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJson.java b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJson.java index a208338a9..9dd259e7b 100644 --- a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJson.java +++ b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJson.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonAffordanceModel.java b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonAffordanceModel.java index d5f04b8ef..d39525dcf 100644 --- a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonAffordanceModel.java +++ b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonAffordanceModel.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonAffordanceModelFactory.java b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonAffordanceModelFactory.java index 24f31c898..ac368b0a5 100644 --- a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonAffordanceModelFactory.java +++ b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonAffordanceModelFactory.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonData.java b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonData.java index 8583c8f39..84c669b9d 100644 --- a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonData.java +++ b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonData.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonDocument.java b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonDocument.java index f345db30c..52ae91c15 100644 --- a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonDocument.java +++ b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonDocument.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonError.java b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonError.java index c8216a572..1460a0d81 100644 --- a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonError.java +++ b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonError.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonItem.java b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonItem.java index cf1e78f52..f61692d43 100644 --- a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonItem.java +++ b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonItem.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonLinkDiscoverer.java b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonLinkDiscoverer.java index 5b6141dbf..fe40161e8 100644 --- a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonLinkDiscoverer.java +++ b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonLinkDiscoverer.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonQuery.java b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonQuery.java index 77eaf8ffc..edc67dacf 100644 --- a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonQuery.java +++ b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonQuery.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonTemplate.java b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonTemplate.java index 291d03c40..0f2c83ac2 100644 --- a/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonTemplate.java +++ b/src/main/java/org/springframework/hateoas/collectionjson/CollectionJsonTemplate.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/collectionjson/Jackson2CollectionJsonModule.java b/src/main/java/org/springframework/hateoas/collectionjson/Jackson2CollectionJsonModule.java index f4db41502..65f0234c4 100644 --- a/src/main/java/org/springframework/hateoas/collectionjson/Jackson2CollectionJsonModule.java +++ b/src/main/java/org/springframework/hateoas/collectionjson/Jackson2CollectionJsonModule.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/collectionjson/PagedResourcesMixin.java b/src/main/java/org/springframework/hateoas/collectionjson/PagedResourcesMixin.java index 9686294e2..ab308affe 100644 --- a/src/main/java/org/springframework/hateoas/collectionjson/PagedResourcesMixin.java +++ b/src/main/java/org/springframework/hateoas/collectionjson/PagedResourcesMixin.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/collectionjson/ResourceMixin.java b/src/main/java/org/springframework/hateoas/collectionjson/ResourceMixin.java index 73631154d..2c92eb8b1 100644 --- a/src/main/java/org/springframework/hateoas/collectionjson/ResourceMixin.java +++ b/src/main/java/org/springframework/hateoas/collectionjson/ResourceMixin.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/collectionjson/ResourceSupportMixin.java b/src/main/java/org/springframework/hateoas/collectionjson/ResourceSupportMixin.java index ec9af80c4..229e0efab 100644 --- a/src/main/java/org/springframework/hateoas/collectionjson/ResourceSupportMixin.java +++ b/src/main/java/org/springframework/hateoas/collectionjson/ResourceSupportMixin.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/collectionjson/ResourcesMixin.java b/src/main/java/org/springframework/hateoas/collectionjson/ResourcesMixin.java index 88cae5f9e..28f08083e 100644 --- a/src/main/java/org/springframework/hateoas/collectionjson/ResourcesMixin.java +++ b/src/main/java/org/springframework/hateoas/collectionjson/ResourcesMixin.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/config/ConverterRegisteringBeanPostProcessor.java b/src/main/java/org/springframework/hateoas/config/ConverterRegisteringBeanPostProcessor.java index f8e4aa28e..4eb0a701e 100644 --- a/src/main/java/org/springframework/hateoas/config/ConverterRegisteringBeanPostProcessor.java +++ b/src/main/java/org/springframework/hateoas/config/ConverterRegisteringBeanPostProcessor.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/config/ConverterRegisteringWebMvcConfigurer.java b/src/main/java/org/springframework/hateoas/config/ConverterRegisteringWebMvcConfigurer.java index 22c290d93..1e1ab883b 100644 --- a/src/main/java/org/springframework/hateoas/config/ConverterRegisteringWebMvcConfigurer.java +++ b/src/main/java/org/springframework/hateoas/config/ConverterRegisteringWebMvcConfigurer.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/config/EnableEntityLinks.java b/src/main/java/org/springframework/hateoas/config/EnableEntityLinks.java index 2f8ee0291..d75326635 100644 --- a/src/main/java/org/springframework/hateoas/config/EnableEntityLinks.java +++ b/src/main/java/org/springframework/hateoas/config/EnableEntityLinks.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/config/EnableHypermediaSupport.java b/src/main/java/org/springframework/hateoas/config/EnableHypermediaSupport.java index 95b526113..2aebcd19d 100644 --- a/src/main/java/org/springframework/hateoas/config/EnableHypermediaSupport.java +++ b/src/main/java/org/springframework/hateoas/config/EnableHypermediaSupport.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/config/EntityLinksConfiguration.java b/src/main/java/org/springframework/hateoas/config/EntityLinksConfiguration.java index 3e61f525e..ed4d955eb 100644 --- a/src/main/java/org/springframework/hateoas/config/EntityLinksConfiguration.java +++ b/src/main/java/org/springframework/hateoas/config/EntityLinksConfiguration.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/config/HateoasConfiguration.java b/src/main/java/org/springframework/hateoas/config/HateoasConfiguration.java index 9b312289e..b11b4560d 100644 --- a/src/main/java/org/springframework/hateoas/config/HateoasConfiguration.java +++ b/src/main/java/org/springframework/hateoas/config/HateoasConfiguration.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/config/HypermediaSupportBeanDefinitionRegistrar.java b/src/main/java/org/springframework/hateoas/config/HypermediaSupportBeanDefinitionRegistrar.java index bfbd6b731..e22cd6ebf 100644 --- a/src/main/java/org/springframework/hateoas/config/HypermediaSupportBeanDefinitionRegistrar.java +++ b/src/main/java/org/springframework/hateoas/config/HypermediaSupportBeanDefinitionRegistrar.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/AbstractEntityLinks.java b/src/main/java/org/springframework/hateoas/core/AbstractEntityLinks.java index 3aebe2f41..64db48676 100644 --- a/src/main/java/org/springframework/hateoas/core/AbstractEntityLinks.java +++ b/src/main/java/org/springframework/hateoas/core/AbstractEntityLinks.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/AffordanceModelFactory.java b/src/main/java/org/springframework/hateoas/core/AffordanceModelFactory.java index 5eb429d8a..f2a771511 100644 --- a/src/main/java/org/springframework/hateoas/core/AffordanceModelFactory.java +++ b/src/main/java/org/springframework/hateoas/core/AffordanceModelFactory.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/AnnotationAttribute.java b/src/main/java/org/springframework/hateoas/core/AnnotationAttribute.java index d67ecac1a..072631a9a 100644 --- a/src/main/java/org/springframework/hateoas/core/AnnotationAttribute.java +++ b/src/main/java/org/springframework/hateoas/core/AnnotationAttribute.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/AnnotationMappingDiscoverer.java b/src/main/java/org/springframework/hateoas/core/AnnotationMappingDiscoverer.java index 5e457b51d..7cf195780 100644 --- a/src/main/java/org/springframework/hateoas/core/AnnotationMappingDiscoverer.java +++ b/src/main/java/org/springframework/hateoas/core/AnnotationMappingDiscoverer.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/AnnotationRelProvider.java b/src/main/java/org/springframework/hateoas/core/AnnotationRelProvider.java index dbb96db1d..7fc5d0e67 100644 --- a/src/main/java/org/springframework/hateoas/core/AnnotationRelProvider.java +++ b/src/main/java/org/springframework/hateoas/core/AnnotationRelProvider.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/ControllerEntityLinks.java b/src/main/java/org/springframework/hateoas/core/ControllerEntityLinks.java index 552f86765..adbf9dbb1 100644 --- a/src/main/java/org/springframework/hateoas/core/ControllerEntityLinks.java +++ b/src/main/java/org/springframework/hateoas/core/ControllerEntityLinks.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/ControllerEntityLinksFactoryBean.java b/src/main/java/org/springframework/hateoas/core/ControllerEntityLinksFactoryBean.java index 570cd31cf..bc33d90bc 100644 --- a/src/main/java/org/springframework/hateoas/core/ControllerEntityLinksFactoryBean.java +++ b/src/main/java/org/springframework/hateoas/core/ControllerEntityLinksFactoryBean.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/DefaultRelProvider.java b/src/main/java/org/springframework/hateoas/core/DefaultRelProvider.java index 7f4f44e1c..e3a9ba001 100644 --- a/src/main/java/org/springframework/hateoas/core/DefaultRelProvider.java +++ b/src/main/java/org/springframework/hateoas/core/DefaultRelProvider.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/DelegatingEntityLinks.java b/src/main/java/org/springframework/hateoas/core/DelegatingEntityLinks.java index a73d011f9..7e3ea089a 100644 --- a/src/main/java/org/springframework/hateoas/core/DelegatingEntityLinks.java +++ b/src/main/java/org/springframework/hateoas/core/DelegatingEntityLinks.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/DelegatingRelProvider.java b/src/main/java/org/springframework/hateoas/core/DelegatingRelProvider.java index a8351a32f..b7a8d305b 100644 --- a/src/main/java/org/springframework/hateoas/core/DelegatingRelProvider.java +++ b/src/main/java/org/springframework/hateoas/core/DelegatingRelProvider.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/DummyInvocationUtils.java b/src/main/java/org/springframework/hateoas/core/DummyInvocationUtils.java index 8f9d82311..aca56b64e 100644 --- a/src/main/java/org/springframework/hateoas/core/DummyInvocationUtils.java +++ b/src/main/java/org/springframework/hateoas/core/DummyInvocationUtils.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/EmbeddedWrapper.java b/src/main/java/org/springframework/hateoas/core/EmbeddedWrapper.java index a699b3f6c..d6a3b4734 100644 --- a/src/main/java/org/springframework/hateoas/core/EmbeddedWrapper.java +++ b/src/main/java/org/springframework/hateoas/core/EmbeddedWrapper.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/EmbeddedWrappers.java b/src/main/java/org/springframework/hateoas/core/EmbeddedWrappers.java index 90e515bca..3772b2c48 100644 --- a/src/main/java/org/springframework/hateoas/core/EmbeddedWrappers.java +++ b/src/main/java/org/springframework/hateoas/core/EmbeddedWrappers.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/EncodingUtils.java b/src/main/java/org/springframework/hateoas/core/EncodingUtils.java index 480eaa2cd..4281e9ddb 100644 --- a/src/main/java/org/springframework/hateoas/core/EncodingUtils.java +++ b/src/main/java/org/springframework/hateoas/core/EncodingUtils.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/EvoInflectorRelProvider.java b/src/main/java/org/springframework/hateoas/core/EvoInflectorRelProvider.java index f0775e4cd..30bf4151e 100644 --- a/src/main/java/org/springframework/hateoas/core/EvoInflectorRelProvider.java +++ b/src/main/java/org/springframework/hateoas/core/EvoInflectorRelProvider.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/JsonPathLinkDiscoverer.java b/src/main/java/org/springframework/hateoas/core/JsonPathLinkDiscoverer.java index a23156a56..cad8174f6 100644 --- a/src/main/java/org/springframework/hateoas/core/JsonPathLinkDiscoverer.java +++ b/src/main/java/org/springframework/hateoas/core/JsonPathLinkDiscoverer.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/LinkBuilderSupport.java b/src/main/java/org/springframework/hateoas/core/LinkBuilderSupport.java index 7eb32f4f9..77341649a 100644 --- a/src/main/java/org/springframework/hateoas/core/LinkBuilderSupport.java +++ b/src/main/java/org/springframework/hateoas/core/LinkBuilderSupport.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/MappingDiscoverer.java b/src/main/java/org/springframework/hateoas/core/MappingDiscoverer.java index b058c7a2b..35e506295 100644 --- a/src/main/java/org/springframework/hateoas/core/MappingDiscoverer.java +++ b/src/main/java/org/springframework/hateoas/core/MappingDiscoverer.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/MethodParameters.java b/src/main/java/org/springframework/hateoas/core/MethodParameters.java index cefef4c7d..4dcf3bcc1 100644 --- a/src/main/java/org/springframework/hateoas/core/MethodParameters.java +++ b/src/main/java/org/springframework/hateoas/core/MethodParameters.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/Objects.java b/src/main/java/org/springframework/hateoas/core/Objects.java index c0effa874..eef85ecfe 100644 --- a/src/main/java/org/springframework/hateoas/core/Objects.java +++ b/src/main/java/org/springframework/hateoas/core/Objects.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/core/Relation.java b/src/main/java/org/springframework/hateoas/core/Relation.java index b8782ef0f..bc5c1c1e1 100644 --- a/src/main/java/org/springframework/hateoas/core/Relation.java +++ b/src/main/java/org/springframework/hateoas/core/Relation.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/CurieProvider.java b/src/main/java/org/springframework/hateoas/hal/CurieProvider.java index c7493bf06..4feaec427 100644 --- a/src/main/java/org/springframework/hateoas/hal/CurieProvider.java +++ b/src/main/java/org/springframework/hateoas/hal/CurieProvider.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/DefaultCurieProvider.java b/src/main/java/org/springframework/hateoas/hal/DefaultCurieProvider.java index 0d19a7b2e..c81648f9b 100644 --- a/src/main/java/org/springframework/hateoas/hal/DefaultCurieProvider.java +++ b/src/main/java/org/springframework/hateoas/hal/DefaultCurieProvider.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/HalConfiguration.java b/src/main/java/org/springframework/hateoas/hal/HalConfiguration.java index 846c4b602..778868cc9 100644 --- a/src/main/java/org/springframework/hateoas/hal/HalConfiguration.java +++ b/src/main/java/org/springframework/hateoas/hal/HalConfiguration.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/HalEmbeddedBuilder.java b/src/main/java/org/springframework/hateoas/hal/HalEmbeddedBuilder.java index 5ae1dcbca..ed8eb807d 100644 --- a/src/main/java/org/springframework/hateoas/hal/HalEmbeddedBuilder.java +++ b/src/main/java/org/springframework/hateoas/hal/HalEmbeddedBuilder.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/HalLinkDiscoverer.java b/src/main/java/org/springframework/hateoas/hal/HalLinkDiscoverer.java index 49c230d32..be6245efb 100644 --- a/src/main/java/org/springframework/hateoas/hal/HalLinkDiscoverer.java +++ b/src/main/java/org/springframework/hateoas/hal/HalLinkDiscoverer.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/Jackson2HalModule.java b/src/main/java/org/springframework/hateoas/hal/Jackson2HalModule.java index d5d88fb08..a7b7c8311 100644 --- a/src/main/java/org/springframework/hateoas/hal/Jackson2HalModule.java +++ b/src/main/java/org/springframework/hateoas/hal/Jackson2HalModule.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/LinkMixin.java b/src/main/java/org/springframework/hateoas/hal/LinkMixin.java index c9ec76d13..123de3275 100644 --- a/src/main/java/org/springframework/hateoas/hal/LinkMixin.java +++ b/src/main/java/org/springframework/hateoas/hal/LinkMixin.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/ResourceSupportMixin.java b/src/main/java/org/springframework/hateoas/hal/ResourceSupportMixin.java index b85e41823..2f33ee9ef 100644 --- a/src/main/java/org/springframework/hateoas/hal/ResourceSupportMixin.java +++ b/src/main/java/org/springframework/hateoas/hal/ResourceSupportMixin.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/ResourcesMixin.java b/src/main/java/org/springframework/hateoas/hal/ResourcesMixin.java index 17f33d3e4..63294c869 100644 --- a/src/main/java/org/springframework/hateoas/hal/ResourcesMixin.java +++ b/src/main/java/org/springframework/hateoas/hal/ResourcesMixin.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsAffordanceModel.java b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsAffordanceModel.java index f5e2e6279..ea165f18f 100644 --- a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsAffordanceModel.java +++ b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsAffordanceModel.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsAffordanceModelFactory.java b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsAffordanceModelFactory.java index 061bf5cd1..55a840d46 100644 --- a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsAffordanceModelFactory.java +++ b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsAffordanceModelFactory.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsConfiguration.java b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsConfiguration.java index d22b58080..3d7baa71d 100644 --- a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsConfiguration.java +++ b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsConfiguration.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsDeserializers.java b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsDeserializers.java index e7d4a3b3a..571e71cb1 100644 --- a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsDeserializers.java +++ b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsDeserializers.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsDocument.java b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsDocument.java index d1e5fdf42..c3cf4d792 100644 --- a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsDocument.java +++ b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsDocument.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsLinkDiscoverer.java b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsLinkDiscoverer.java index 659460371..79cf575e6 100644 --- a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsLinkDiscoverer.java +++ b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsLinkDiscoverer.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsProperty.java b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsProperty.java index d0f4b8a83..eba0014f6 100644 --- a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsProperty.java +++ b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsProperty.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsSerializers.java b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsSerializers.java index c25f23654..20ae30477 100644 --- a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsSerializers.java +++ b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsSerializers.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsTemplate.java b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsTemplate.java index a91e4c9f4..fbdbdfba0 100644 --- a/src/main/java/org/springframework/hateoas/hal/forms/HalFormsTemplate.java +++ b/src/main/java/org/springframework/hateoas/hal/forms/HalFormsTemplate.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/hal/forms/Jackson2HalFormsModule.java b/src/main/java/org/springframework/hateoas/hal/forms/Jackson2HalFormsModule.java index 3757821c0..cf49fe3c2 100644 --- a/src/main/java/org/springframework/hateoas/hal/forms/Jackson2HalFormsModule.java +++ b/src/main/java/org/springframework/hateoas/hal/forms/Jackson2HalFormsModule.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/AnnotatedParametersParameterAccessor.java b/src/main/java/org/springframework/hateoas/mvc/AnnotatedParametersParameterAccessor.java index d4f7aeb31..fcabe4b37 100644 --- a/src/main/java/org/springframework/hateoas/mvc/AnnotatedParametersParameterAccessor.java +++ b/src/main/java/org/springframework/hateoas/mvc/AnnotatedParametersParameterAccessor.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/BasicLinkBuilder.java b/src/main/java/org/springframework/hateoas/mvc/BasicLinkBuilder.java index 9913a5d5f..b484fdc2b 100644 --- a/src/main/java/org/springframework/hateoas/mvc/BasicLinkBuilder.java +++ b/src/main/java/org/springframework/hateoas/mvc/BasicLinkBuilder.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/ControllerLinkBuilder.java b/src/main/java/org/springframework/hateoas/mvc/ControllerLinkBuilder.java index f5269ea74..561937ac0 100755 --- a/src/main/java/org/springframework/hateoas/mvc/ControllerLinkBuilder.java +++ b/src/main/java/org/springframework/hateoas/mvc/ControllerLinkBuilder.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/ControllerLinkBuilderFactory.java b/src/main/java/org/springframework/hateoas/mvc/ControllerLinkBuilderFactory.java index e29f686f0..b99dbc89c 100644 --- a/src/main/java/org/springframework/hateoas/mvc/ControllerLinkBuilderFactory.java +++ b/src/main/java/org/springframework/hateoas/mvc/ControllerLinkBuilderFactory.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/ControllerRelProvider.java b/src/main/java/org/springframework/hateoas/mvc/ControllerRelProvider.java index 9142bc17a..c6030e865 100644 --- a/src/main/java/org/springframework/hateoas/mvc/ControllerRelProvider.java +++ b/src/main/java/org/springframework/hateoas/mvc/ControllerRelProvider.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/ForwardedHeader.java b/src/main/java/org/springframework/hateoas/mvc/ForwardedHeader.java index b93d5e9fc..6371599cd 100644 --- a/src/main/java/org/springframework/hateoas/mvc/ForwardedHeader.java +++ b/src/main/java/org/springframework/hateoas/mvc/ForwardedHeader.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/HeaderLinksResponseEntity.java b/src/main/java/org/springframework/hateoas/mvc/HeaderLinksResponseEntity.java index 07001685a..279ccb81a 100644 --- a/src/main/java/org/springframework/hateoas/mvc/HeaderLinksResponseEntity.java +++ b/src/main/java/org/springframework/hateoas/mvc/HeaderLinksResponseEntity.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/IdentifiableResourceAssemblerSupport.java b/src/main/java/org/springframework/hateoas/mvc/IdentifiableResourceAssemblerSupport.java index cbf124a1a..8b572e6e6 100644 --- a/src/main/java/org/springframework/hateoas/mvc/IdentifiableResourceAssemblerSupport.java +++ b/src/main/java/org/springframework/hateoas/mvc/IdentifiableResourceAssemblerSupport.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/JacksonSerializers.java b/src/main/java/org/springframework/hateoas/mvc/JacksonSerializers.java index 92f3f6023..71b5d2410 100644 --- a/src/main/java/org/springframework/hateoas/mvc/JacksonSerializers.java +++ b/src/main/java/org/springframework/hateoas/mvc/JacksonSerializers.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/ResourceAssemblerSupport.java b/src/main/java/org/springframework/hateoas/mvc/ResourceAssemblerSupport.java index 126782d2f..aeed540d3 100755 --- a/src/main/java/org/springframework/hateoas/mvc/ResourceAssemblerSupport.java +++ b/src/main/java/org/springframework/hateoas/mvc/ResourceAssemblerSupport.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/ResourceProcessorHandlerMethodReturnValueHandler.java b/src/main/java/org/springframework/hateoas/mvc/ResourceProcessorHandlerMethodReturnValueHandler.java index 4932473cd..5d3b08a47 100644 --- a/src/main/java/org/springframework/hateoas/mvc/ResourceProcessorHandlerMethodReturnValueHandler.java +++ b/src/main/java/org/springframework/hateoas/mvc/ResourceProcessorHandlerMethodReturnValueHandler.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/ResourceProcessorInvoker.java b/src/main/java/org/springframework/hateoas/mvc/ResourceProcessorInvoker.java index e3003e3f7..8b3eeba7a 100644 --- a/src/main/java/org/springframework/hateoas/mvc/ResourceProcessorInvoker.java +++ b/src/main/java/org/springframework/hateoas/mvc/ResourceProcessorInvoker.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/ResourceProcessorInvokingHandlerAdapter.java b/src/main/java/org/springframework/hateoas/mvc/ResourceProcessorInvokingHandlerAdapter.java index da3969371..fd88401f4 100644 --- a/src/main/java/org/springframework/hateoas/mvc/ResourceProcessorInvokingHandlerAdapter.java +++ b/src/main/java/org/springframework/hateoas/mvc/ResourceProcessorInvokingHandlerAdapter.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/SpringMvcAffordance.java b/src/main/java/org/springframework/hateoas/mvc/SpringMvcAffordance.java index 7964b2be7..db1cb1650 100644 --- a/src/main/java/org/springframework/hateoas/mvc/SpringMvcAffordance.java +++ b/src/main/java/org/springframework/hateoas/mvc/SpringMvcAffordance.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/SpringMvcAffordanceBuilder.java b/src/main/java/org/springframework/hateoas/mvc/SpringMvcAffordanceBuilder.java index 9984fc8f9..9ac4e52ec 100644 --- a/src/main/java/org/springframework/hateoas/mvc/SpringMvcAffordanceBuilder.java +++ b/src/main/java/org/springframework/hateoas/mvc/SpringMvcAffordanceBuilder.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/TypeConstrainedMappingJackson2HttpMessageConverter.java b/src/main/java/org/springframework/hateoas/mvc/TypeConstrainedMappingJackson2HttpMessageConverter.java index 1f1e9ba4e..0945ed30b 100644 --- a/src/main/java/org/springframework/hateoas/mvc/TypeConstrainedMappingJackson2HttpMessageConverter.java +++ b/src/main/java/org/springframework/hateoas/mvc/TypeConstrainedMappingJackson2HttpMessageConverter.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/TypeReferences.java b/src/main/java/org/springframework/hateoas/mvc/TypeReferences.java index 44bdc1090..f46cc672b 100644 --- a/src/main/java/org/springframework/hateoas/mvc/TypeReferences.java +++ b/src/main/java/org/springframework/hateoas/mvc/TypeReferences.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/mvc/UriComponentsContributor.java b/src/main/java/org/springframework/hateoas/mvc/UriComponentsContributor.java index 74743d1ad..d7a6a252a 100644 --- a/src/main/java/org/springframework/hateoas/mvc/UriComponentsContributor.java +++ b/src/main/java/org/springframework/hateoas/mvc/UriComponentsContributor.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/package-info.java b/src/main/java/org/springframework/hateoas/package-info.java index a1c9fc0bc..4a0793a1c 100644 --- a/src/main/java/org/springframework/hateoas/package-info.java +++ b/src/main/java/org/springframework/hateoas/package-info.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/support/JacksonHelper.java b/src/main/java/org/springframework/hateoas/support/JacksonHelper.java index e1a0afe40..9fdd039d2 100644 --- a/src/main/java/org/springframework/hateoas/support/JacksonHelper.java +++ b/src/main/java/org/springframework/hateoas/support/JacksonHelper.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/springframework/hateoas/support/PropertyUtils.java b/src/main/java/org/springframework/hateoas/support/PropertyUtils.java index 8bbba4d7d..99b6f90b2 100644 --- a/src/main/java/org/springframework/hateoas/support/PropertyUtils.java +++ b/src/main/java/org/springframework/hateoas/support/PropertyUtils.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/license.txt b/src/main/resources/license.txt index 77b5d3c40..964a55d1c 100644 --- a/src/main/resources/license.txt +++ b/src/main/resources/license.txt @@ -1,6 +1,6 @@ Apache License Version 2.0, January 2004 - http://www.apache.org/licenses/ + https://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -192,7 +192,7 @@ you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/AbstractJackson2MarshallingIntegrationTest.java b/src/test/java/org/springframework/hateoas/AbstractJackson2MarshallingIntegrationTest.java index d5399cda7..39ba52ba7 100755 --- a/src/test/java/org/springframework/hateoas/AbstractJackson2MarshallingIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/AbstractJackson2MarshallingIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/Jackson2LinkIntegrationTest.java b/src/test/java/org/springframework/hateoas/Jackson2LinkIntegrationTest.java index c2f8c3540..e7755c460 100755 --- a/src/test/java/org/springframework/hateoas/Jackson2LinkIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/Jackson2LinkIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/Jackson2PagedResourcesIntegrationTest.java b/src/test/java/org/springframework/hateoas/Jackson2PagedResourcesIntegrationTest.java index 0b0f33c43..9c0dc60ce 100755 --- a/src/test/java/org/springframework/hateoas/Jackson2PagedResourcesIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/Jackson2PagedResourcesIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/Jackson2ResourceSupportIntegrationTest.java b/src/test/java/org/springframework/hateoas/Jackson2ResourceSupportIntegrationTest.java index bf5c73b7b..66302414e 100755 --- a/src/test/java/org/springframework/hateoas/Jackson2ResourceSupportIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/Jackson2ResourceSupportIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/LinkDiscoverersUnitTest.java b/src/test/java/org/springframework/hateoas/LinkDiscoverersUnitTest.java index 30964358c..634ee9d2d 100755 --- a/src/test/java/org/springframework/hateoas/LinkDiscoverersUnitTest.java +++ b/src/test/java/org/springframework/hateoas/LinkDiscoverersUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/LinkIntegrationTest.java b/src/test/java/org/springframework/hateoas/LinkIntegrationTest.java index 1d28bf29e..d0740021d 100755 --- a/src/test/java/org/springframework/hateoas/LinkIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/LinkIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/LinkUnitTest.java b/src/test/java/org/springframework/hateoas/LinkUnitTest.java index 9e96a5e04..81c4d01ce 100755 --- a/src/test/java/org/springframework/hateoas/LinkUnitTest.java +++ b/src/test/java/org/springframework/hateoas/LinkUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/LinksUnitTest.java b/src/test/java/org/springframework/hateoas/LinksUnitTest.java index 78c30bc21..fc30aa0c3 100755 --- a/src/test/java/org/springframework/hateoas/LinksUnitTest.java +++ b/src/test/java/org/springframework/hateoas/LinksUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/PagedResourcesUnitTest.java b/src/test/java/org/springframework/hateoas/PagedResourcesUnitTest.java index 87ce18259..c8d113add 100755 --- a/src/test/java/org/springframework/hateoas/PagedResourcesUnitTest.java +++ b/src/test/java/org/springframework/hateoas/PagedResourcesUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/ResourceIntegrationTest.java b/src/test/java/org/springframework/hateoas/ResourceIntegrationTest.java index 6e13005b7..0c4939509 100755 --- a/src/test/java/org/springframework/hateoas/ResourceIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/ResourceIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/ResourceSupportIntegrationTest.java b/src/test/java/org/springframework/hateoas/ResourceSupportIntegrationTest.java index 07dbba1fe..4b3af9a20 100755 --- a/src/test/java/org/springframework/hateoas/ResourceSupportIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/ResourceSupportIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/ResourceSupportUnitTest.java b/src/test/java/org/springframework/hateoas/ResourceSupportUnitTest.java index a29cc8e86..e45a61667 100755 --- a/src/test/java/org/springframework/hateoas/ResourceSupportUnitTest.java +++ b/src/test/java/org/springframework/hateoas/ResourceSupportUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/ResourceUnitTest.java b/src/test/java/org/springframework/hateoas/ResourceUnitTest.java index beddea3b0..ccac4234a 100755 --- a/src/test/java/org/springframework/hateoas/ResourceUnitTest.java +++ b/src/test/java/org/springframework/hateoas/ResourceUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/ResourcesUnitTest.java b/src/test/java/org/springframework/hateoas/ResourcesUnitTest.java index 267c54974..698e88c80 100755 --- a/src/test/java/org/springframework/hateoas/ResourcesUnitTest.java +++ b/src/test/java/org/springframework/hateoas/ResourcesUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/TemplateVariablesUnitTest.java b/src/test/java/org/springframework/hateoas/TemplateVariablesUnitTest.java index a0cc782f4..f0d21597f 100755 --- a/src/test/java/org/springframework/hateoas/TemplateVariablesUnitTest.java +++ b/src/test/java/org/springframework/hateoas/TemplateVariablesUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/TestUtils.java b/src/test/java/org/springframework/hateoas/TestUtils.java index 4008fa75f..479b4e683 100644 --- a/src/test/java/org/springframework/hateoas/TestUtils.java +++ b/src/test/java/org/springframework/hateoas/TestUtils.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/UriTemplateUnitTest.java b/src/test/java/org/springframework/hateoas/UriTemplateUnitTest.java index 068112d46..5058d7e2f 100755 --- a/src/test/java/org/springframework/hateoas/UriTemplateUnitTest.java +++ b/src/test/java/org/springframework/hateoas/UriTemplateUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/VndErrorsMarshallingTest.java b/src/test/java/org/springframework/hateoas/VndErrorsMarshallingTest.java index b2df5551d..b7e7b0aa9 100755 --- a/src/test/java/org/springframework/hateoas/VndErrorsMarshallingTest.java +++ b/src/test/java/org/springframework/hateoas/VndErrorsMarshallingTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/VndErrorsUnitTest.java b/src/test/java/org/springframework/hateoas/VndErrorsUnitTest.java index 31531d64b..a70fd7801 100755 --- a/src/test/java/org/springframework/hateoas/VndErrorsUnitTest.java +++ b/src/test/java/org/springframework/hateoas/VndErrorsUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/alps/AlpsLinkDiscoverUnitTest.java b/src/test/java/org/springframework/hateoas/alps/AlpsLinkDiscoverUnitTest.java index e571c5d21..2cdc069d6 100755 --- a/src/test/java/org/springframework/hateoas/alps/AlpsLinkDiscoverUnitTest.java +++ b/src/test/java/org/springframework/hateoas/alps/AlpsLinkDiscoverUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/alps/JacksonSerializationTest.java b/src/test/java/org/springframework/hateoas/alps/JacksonSerializationTest.java index bc2eb5d1e..1c8da55b6 100755 --- a/src/test/java/org/springframework/hateoas/alps/JacksonSerializationTest.java +++ b/src/test/java/org/springframework/hateoas/alps/JacksonSerializationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/client/Actor.java b/src/test/java/org/springframework/hateoas/client/Actor.java index 107adf5be..bf438e6bf 100644 --- a/src/test/java/org/springframework/hateoas/client/Actor.java +++ b/src/test/java/org/springframework/hateoas/client/Actor.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/client/HopUnitTest.java b/src/test/java/org/springframework/hateoas/client/HopUnitTest.java index 43504ad3c..e07acc5b9 100755 --- a/src/test/java/org/springframework/hateoas/client/HopUnitTest.java +++ b/src/test/java/org/springframework/hateoas/client/HopUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/client/Item.java b/src/test/java/org/springframework/hateoas/client/Item.java index 99165d5d8..ea46cc0ac 100644 --- a/src/test/java/org/springframework/hateoas/client/Item.java +++ b/src/test/java/org/springframework/hateoas/client/Item.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/client/Movie.java b/src/test/java/org/springframework/hateoas/client/Movie.java index f00846f0e..677f2d5b0 100644 --- a/src/test/java/org/springframework/hateoas/client/Movie.java +++ b/src/test/java/org/springframework/hateoas/client/Movie.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/client/Server.java b/src/test/java/org/springframework/hateoas/client/Server.java index daaa4fa27..d05d14728 100644 --- a/src/test/java/org/springframework/hateoas/client/Server.java +++ b/src/test/java/org/springframework/hateoas/client/Server.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/client/TraversonTest.java b/src/test/java/org/springframework/hateoas/client/TraversonTest.java index 1b390b5b4..417d03ceb 100755 --- a/src/test/java/org/springframework/hateoas/client/TraversonTest.java +++ b/src/test/java/org/springframework/hateoas/client/TraversonTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonLinkDiscovererUnitTest.java b/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonLinkDiscovererUnitTest.java index 6849fcca3..d612fda1e 100644 --- a/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonLinkDiscovererUnitTest.java +++ b/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonLinkDiscovererUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonSpecTest.java b/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonSpecTest.java index c1da14770..60239fa49 100644 --- a/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonSpecTest.java +++ b/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonSpecTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonWebMvcIntegrationTest.java b/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonWebMvcIntegrationTest.java index eda1d68ff..5b852ada9 100644 --- a/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonWebMvcIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/collectionjson/CollectionJsonWebMvcIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/collectionjson/Jackson2CollectionJsonIntegrationTest.java b/src/test/java/org/springframework/hateoas/collectionjson/Jackson2CollectionJsonIntegrationTest.java index 3df390214..9db2aec35 100644 --- a/src/test/java/org/springframework/hateoas/collectionjson/Jackson2CollectionJsonIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/collectionjson/Jackson2CollectionJsonIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/collectionjson/JacksonSerializationTest.java b/src/test/java/org/springframework/hateoas/collectionjson/JacksonSerializationTest.java index d3eba47be..367999758 100644 --- a/src/test/java/org/springframework/hateoas/collectionjson/JacksonSerializationTest.java +++ b/src/test/java/org/springframework/hateoas/collectionjson/JacksonSerializationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/config/EnableEntityLinksIntegrationTest.java b/src/test/java/org/springframework/hateoas/config/EnableEntityLinksIntegrationTest.java index 8e6b1e601..539986aa6 100755 --- a/src/test/java/org/springframework/hateoas/config/EnableEntityLinksIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/config/EnableEntityLinksIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/config/EnableHypermediaSupportIntegrationTest.java b/src/test/java/org/springframework/hateoas/config/EnableHypermediaSupportIntegrationTest.java index 908984f85..ac1becd83 100755 --- a/src/test/java/org/springframework/hateoas/config/EnableHypermediaSupportIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/config/EnableHypermediaSupportIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/config/XmlConfigurationIntegrationTest.java b/src/test/java/org/springframework/hateoas/config/XmlConfigurationIntegrationTest.java index 75b594e87..53f09150f 100755 --- a/src/test/java/org/springframework/hateoas/config/XmlConfigurationIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/config/XmlConfigurationIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/core/AbstractLinkDiscovererUnitTest.java b/src/test/java/org/springframework/hateoas/core/AbstractLinkDiscovererUnitTest.java index 4fa3cb43f..9bd67409f 100755 --- a/src/test/java/org/springframework/hateoas/core/AbstractLinkDiscovererUnitTest.java +++ b/src/test/java/org/springframework/hateoas/core/AbstractLinkDiscovererUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/core/AnnotationMappingDiscovererUnitTest.java b/src/test/java/org/springframework/hateoas/core/AnnotationMappingDiscovererUnitTest.java index 663a919c3..91316e4d7 100755 --- a/src/test/java/org/springframework/hateoas/core/AnnotationMappingDiscovererUnitTest.java +++ b/src/test/java/org/springframework/hateoas/core/AnnotationMappingDiscovererUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/core/ControllerEntityLinksFactoryBeanUnitTest.java b/src/test/java/org/springframework/hateoas/core/ControllerEntityLinksFactoryBeanUnitTest.java index c01fb285a..ee03c13c1 100755 --- a/src/test/java/org/springframework/hateoas/core/ControllerEntityLinksFactoryBeanUnitTest.java +++ b/src/test/java/org/springframework/hateoas/core/ControllerEntityLinksFactoryBeanUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/core/ControllerEntityLinksUnitTest.java b/src/test/java/org/springframework/hateoas/core/ControllerEntityLinksUnitTest.java index 673b2c650..98488ca1d 100755 --- a/src/test/java/org/springframework/hateoas/core/ControllerEntityLinksUnitTest.java +++ b/src/test/java/org/springframework/hateoas/core/ControllerEntityLinksUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/core/DelegatingEntityLinksUnitTest.java b/src/test/java/org/springframework/hateoas/core/DelegatingEntityLinksUnitTest.java index c2695911c..814b2b7d6 100755 --- a/src/test/java/org/springframework/hateoas/core/DelegatingEntityLinksUnitTest.java +++ b/src/test/java/org/springframework/hateoas/core/DelegatingEntityLinksUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/core/DelegatingRelProviderUnitTest.java b/src/test/java/org/springframework/hateoas/core/DelegatingRelProviderUnitTest.java index 18824f5b9..a519d3b5f 100755 --- a/src/test/java/org/springframework/hateoas/core/DelegatingRelProviderUnitTest.java +++ b/src/test/java/org/springframework/hateoas/core/DelegatingRelProviderUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/core/EmbeddedWrappersUnitTest.java b/src/test/java/org/springframework/hateoas/core/EmbeddedWrappersUnitTest.java index 77771f735..ae4efe218 100755 --- a/src/test/java/org/springframework/hateoas/core/EmbeddedWrappersUnitTest.java +++ b/src/test/java/org/springframework/hateoas/core/EmbeddedWrappersUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/core/EvoInflectorRelProviderUnitTest.java b/src/test/java/org/springframework/hateoas/core/EvoInflectorRelProviderUnitTest.java index 96bb055d4..2c201ef34 100755 --- a/src/test/java/org/springframework/hateoas/core/EvoInflectorRelProviderUnitTest.java +++ b/src/test/java/org/springframework/hateoas/core/EvoInflectorRelProviderUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/core/JsonPathLinkDiscovererUnitTest.java b/src/test/java/org/springframework/hateoas/core/JsonPathLinkDiscovererUnitTest.java index 9a0739f1b..5c7589da2 100755 --- a/src/test/java/org/springframework/hateoas/core/JsonPathLinkDiscovererUnitTest.java +++ b/src/test/java/org/springframework/hateoas/core/JsonPathLinkDiscovererUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/core/LinkBuilderSupportUnitTest.java b/src/test/java/org/springframework/hateoas/core/LinkBuilderSupportUnitTest.java index 67f586643..476075224 100755 --- a/src/test/java/org/springframework/hateoas/core/LinkBuilderSupportUnitTest.java +++ b/src/test/java/org/springframework/hateoas/core/LinkBuilderSupportUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/core/MethodParametersUnitTest.java b/src/test/java/org/springframework/hateoas/core/MethodParametersUnitTest.java index d12280e1f..f7fdf4879 100755 --- a/src/test/java/org/springframework/hateoas/core/MethodParametersUnitTest.java +++ b/src/test/java/org/springframework/hateoas/core/MethodParametersUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/hal/DefaultCurieProviderUnitTest.java b/src/test/java/org/springframework/hateoas/hal/DefaultCurieProviderUnitTest.java index dd1f8f360..ab5784a29 100755 --- a/src/test/java/org/springframework/hateoas/hal/DefaultCurieProviderUnitTest.java +++ b/src/test/java/org/springframework/hateoas/hal/DefaultCurieProviderUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/hal/HalEmbeddedBuilderUnitTest.java b/src/test/java/org/springframework/hateoas/hal/HalEmbeddedBuilderUnitTest.java index 5b480c0e1..a896a65e4 100755 --- a/src/test/java/org/springframework/hateoas/hal/HalEmbeddedBuilderUnitTest.java +++ b/src/test/java/org/springframework/hateoas/hal/HalEmbeddedBuilderUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/hal/HalLinkDiscovererUnitTest.java b/src/test/java/org/springframework/hateoas/hal/HalLinkDiscovererUnitTest.java index 56859633b..aaafd3a5c 100755 --- a/src/test/java/org/springframework/hateoas/hal/HalLinkDiscovererUnitTest.java +++ b/src/test/java/org/springframework/hateoas/hal/HalLinkDiscovererUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/hal/Jackson2HalIntegrationTest.java b/src/test/java/org/springframework/hateoas/hal/Jackson2HalIntegrationTest.java index 0e82e16a5..bc790ce92 100755 --- a/src/test/java/org/springframework/hateoas/hal/Jackson2HalIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/hal/Jackson2HalIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/hal/RenderHypermediaForDefaultAcceptHeadersTest.java b/src/test/java/org/springframework/hateoas/hal/RenderHypermediaForDefaultAcceptHeadersTest.java index c2c2d3c1b..ab98e12a1 100644 --- a/src/test/java/org/springframework/hateoas/hal/RenderHypermediaForDefaultAcceptHeadersTest.java +++ b/src/test/java/org/springframework/hateoas/hal/RenderHypermediaForDefaultAcceptHeadersTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/hal/forms/HalFormsLinkDiscovererUnitTest.java b/src/test/java/org/springframework/hateoas/hal/forms/HalFormsLinkDiscovererUnitTest.java index 6acfdf72e..03a3bd18a 100644 --- a/src/test/java/org/springframework/hateoas/hal/forms/HalFormsLinkDiscovererUnitTest.java +++ b/src/test/java/org/springframework/hateoas/hal/forms/HalFormsLinkDiscovererUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/hal/forms/HalFormsMessageConverterUnitTest.java b/src/test/java/org/springframework/hateoas/hal/forms/HalFormsMessageConverterUnitTest.java index 0648af1d1..dd4caa55b 100644 --- a/src/test/java/org/springframework/hateoas/hal/forms/HalFormsMessageConverterUnitTest.java +++ b/src/test/java/org/springframework/hateoas/hal/forms/HalFormsMessageConverterUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/hal/forms/HalFormsValidationIntegrationTest.java b/src/test/java/org/springframework/hateoas/hal/forms/HalFormsValidationIntegrationTest.java index e3fbc149c..984e2295b 100644 --- a/src/test/java/org/springframework/hateoas/hal/forms/HalFormsValidationIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/hal/forms/HalFormsValidationIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/hal/forms/HalFormsWebMvcIntegrationTest.java b/src/test/java/org/springframework/hateoas/hal/forms/HalFormsWebMvcIntegrationTest.java index c08abf929..5b09a2c5a 100644 --- a/src/test/java/org/springframework/hateoas/hal/forms/HalFormsWebMvcIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/hal/forms/HalFormsWebMvcIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/hal/forms/Jackson2HalFormsIntegrationTest.java b/src/test/java/org/springframework/hateoas/hal/forms/Jackson2HalFormsIntegrationTest.java index 18ddd8698..e78c19ad6 100644 --- a/src/test/java/org/springframework/hateoas/hal/forms/Jackson2HalFormsIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/hal/forms/Jackson2HalFormsIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/mvc/ControllerLinkBuilderFactoryUnitTest.java b/src/test/java/org/springframework/hateoas/mvc/ControllerLinkBuilderFactoryUnitTest.java index b86c83681..f99e18809 100755 --- a/src/test/java/org/springframework/hateoas/mvc/ControllerLinkBuilderFactoryUnitTest.java +++ b/src/test/java/org/springframework/hateoas/mvc/ControllerLinkBuilderFactoryUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/mvc/ControllerLinkBuilderOutsideSpringMvcUnitTest.java b/src/test/java/org/springframework/hateoas/mvc/ControllerLinkBuilderOutsideSpringMvcUnitTest.java index b09f4ea8f..4cd33f5a9 100755 --- a/src/test/java/org/springframework/hateoas/mvc/ControllerLinkBuilderOutsideSpringMvcUnitTest.java +++ b/src/test/java/org/springframework/hateoas/mvc/ControllerLinkBuilderOutsideSpringMvcUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/mvc/ControllerLinkBuilderUnitTest.java b/src/test/java/org/springframework/hateoas/mvc/ControllerLinkBuilderUnitTest.java index da287a11b..a1005888a 100755 --- a/src/test/java/org/springframework/hateoas/mvc/ControllerLinkBuilderUnitTest.java +++ b/src/test/java/org/springframework/hateoas/mvc/ControllerLinkBuilderUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/mvc/DummyInvocationUtilsUnitTest.java b/src/test/java/org/springframework/hateoas/mvc/DummyInvocationUtilsUnitTest.java index e222dcfdc..0ff6bac0e 100755 --- a/src/test/java/org/springframework/hateoas/mvc/DummyInvocationUtilsUnitTest.java +++ b/src/test/java/org/springframework/hateoas/mvc/DummyInvocationUtilsUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/mvc/ForwardedHeaderUnitTest.java b/src/test/java/org/springframework/hateoas/mvc/ForwardedHeaderUnitTest.java index ec77e9a7d..9f12cfd1d 100755 --- a/src/test/java/org/springframework/hateoas/mvc/ForwardedHeaderUnitTest.java +++ b/src/test/java/org/springframework/hateoas/mvc/ForwardedHeaderUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/mvc/HeaderLinksResponseEntityUnitTest.java b/src/test/java/org/springframework/hateoas/mvc/HeaderLinksResponseEntityUnitTest.java index 017e4f341..c05ead61c 100755 --- a/src/test/java/org/springframework/hateoas/mvc/HeaderLinksResponseEntityUnitTest.java +++ b/src/test/java/org/springframework/hateoas/mvc/HeaderLinksResponseEntityUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/mvc/HttpEntityMatcher.java b/src/test/java/org/springframework/hateoas/mvc/HttpEntityMatcher.java index 316e89e78..c79832dd3 100644 --- a/src/test/java/org/springframework/hateoas/mvc/HttpEntityMatcher.java +++ b/src/test/java/org/springframework/hateoas/mvc/HttpEntityMatcher.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/mvc/IdentifiableResourceAssemblerSupportUnitTest.java b/src/test/java/org/springframework/hateoas/mvc/IdentifiableResourceAssemblerSupportUnitTest.java index 6466e5fd1..7f8443fb4 100755 --- a/src/test/java/org/springframework/hateoas/mvc/IdentifiableResourceAssemblerSupportUnitTest.java +++ b/src/test/java/org/springframework/hateoas/mvc/IdentifiableResourceAssemblerSupportUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/mvc/MultiMediatypeWebMvcIntegrationTest.java b/src/test/java/org/springframework/hateoas/mvc/MultiMediatypeWebMvcIntegrationTest.java index 7327a602a..1c540a277 100644 --- a/src/test/java/org/springframework/hateoas/mvc/MultiMediatypeWebMvcIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/mvc/MultiMediatypeWebMvcIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/mvc/ResourceProcessorHandlerMethodReturnValueHandlerUnitTest.java b/src/test/java/org/springframework/hateoas/mvc/ResourceProcessorHandlerMethodReturnValueHandlerUnitTest.java index ae67c34fc..3df6104ac 100644 --- a/src/test/java/org/springframework/hateoas/mvc/ResourceProcessorHandlerMethodReturnValueHandlerUnitTest.java +++ b/src/test/java/org/springframework/hateoas/mvc/ResourceProcessorHandlerMethodReturnValueHandlerUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/mvc/SpringMvcAffordanceBuilderUnitTest.java b/src/test/java/org/springframework/hateoas/mvc/SpringMvcAffordanceBuilderUnitTest.java index be3ebdeb6..5584ac8c5 100644 --- a/src/test/java/org/springframework/hateoas/mvc/SpringMvcAffordanceBuilderUnitTest.java +++ b/src/test/java/org/springframework/hateoas/mvc/SpringMvcAffordanceBuilderUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/mvc/TypeConstrainedMappingJackson2HttpMessageConverterUnitTest.java b/src/test/java/org/springframework/hateoas/mvc/TypeConstrainedMappingJackson2HttpMessageConverterUnitTest.java index 00bada2bc..1cae99762 100755 --- a/src/test/java/org/springframework/hateoas/mvc/TypeConstrainedMappingJackson2HttpMessageConverterUnitTest.java +++ b/src/test/java/org/springframework/hateoas/mvc/TypeConstrainedMappingJackson2HttpMessageConverterUnitTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/mvc/TypeReferencesIntegrationTest.java b/src/test/java/org/springframework/hateoas/mvc/TypeReferencesIntegrationTest.java index 4f26f45a0..dca61b1b8 100755 --- a/src/test/java/org/springframework/hateoas/mvc/TypeReferencesIntegrationTest.java +++ b/src/test/java/org/springframework/hateoas/mvc/TypeReferencesIntegrationTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/support/ChangelogCreator.java b/src/test/java/org/springframework/hateoas/support/ChangelogCreator.java index 81723e174..99a7b08bf 100644 --- a/src/test/java/org/springframework/hateoas/support/ChangelogCreator.java +++ b/src/test/java/org/springframework/hateoas/support/ChangelogCreator.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/support/Employee.java b/src/test/java/org/springframework/hateoas/support/Employee.java index 9e8f79484..95a5eb6ff 100644 --- a/src/test/java/org/springframework/hateoas/support/Employee.java +++ b/src/test/java/org/springframework/hateoas/support/Employee.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/support/EmployeeResource.java b/src/test/java/org/springframework/hateoas/support/EmployeeResource.java index c2bbc3add..dafd51a68 100644 --- a/src/test/java/org/springframework/hateoas/support/EmployeeResource.java +++ b/src/test/java/org/springframework/hateoas/support/EmployeeResource.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/support/MappingUtils.java b/src/test/java/org/springframework/hateoas/support/MappingUtils.java index ac1fb2acb..43c81ac20 100644 --- a/src/test/java/org/springframework/hateoas/support/MappingUtils.java +++ b/src/test/java/org/springframework/hateoas/support/MappingUtils.java @@ -9,7 +9,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/springframework/hateoas/support/PropertyUtilsTest.java b/src/test/java/org/springframework/hateoas/support/PropertyUtilsTest.java index 82d675c73..8a52564ab 100644 --- a/src/test/java/org/springframework/hateoas/support/PropertyUtilsTest.java +++ b/src/test/java/org/springframework/hateoas/support/PropertyUtilsTest.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,