From 8052ad1adcfb313ef547b705830ddf783660bf31 Mon Sep 17 00:00:00 2001 From: Spring Operator Date: Wed, 20 Mar 2019 22:15:09 -0500 Subject: [PATCH] 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 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://static.springsource.org/spring-data/jpa/docs/current/reference/html/jpa.repositories.html (301) with 3 occurrences migrated to: https://docs.spring.io/spring-data/jpa/docs/current/reference/html/jpa.repositories.html ([https](https://static.springsource.org/spring-data/jpa/docs/current/reference/html/jpa.repositories.html) 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://www.thymeleaf.org with 9 occurrences migrated to: https://www.thymeleaf.org ([https](https://www.thymeleaf.org) result 200). # Ignored These URLs were intentionally ignored. * http://localhost:8080 with 2 occurrences * http://localhost:8080/ with 1 occurrences --- .../springframework/samples/petclinic/owner/PetRepository.java | 2 +- .../springframework/samples/petclinic/vet/VetRepository.java | 2 +- .../samples/petclinic/visit/VisitRepository.java | 2 +- src/main/resources/templates/error.html | 2 +- .../resources/templates/owners/createOrUpdateOwnerForm.html | 2 +- src/main/resources/templates/owners/findOwners.html | 2 +- src/main/resources/templates/owners/ownerDetails.html | 2 +- src/main/resources/templates/owners/ownersList.html | 2 +- src/main/resources/templates/pets/createOrUpdatePetForm.html | 2 +- src/main/resources/templates/pets/createOrUpdateVisitForm.html | 2 +- src/main/resources/templates/vets/vetList.html | 2 +- src/main/resources/templates/welcome.html | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main/java/org/springframework/samples/petclinic/owner/PetRepository.java b/src/main/java/org/springframework/samples/petclinic/owner/PetRepository.java index b0ec5db23..5ad150af7 100644 --- a/src/main/java/org/springframework/samples/petclinic/owner/PetRepository.java +++ b/src/main/java/org/springframework/samples/petclinic/owner/PetRepository.java @@ -23,7 +23,7 @@ import org.springframework.transaction.annotation.Transactional; /** * Repository class for Pet domain objects All method names are compliant with Spring Data naming - * conventions so this interface can easily be extended for Spring Data See here: http://static.springsource.org/spring-data/jpa/docs/current/reference/html/jpa.repositories.html#jpa.query-methods.query-creation + * conventions so this interface can easily be extended for Spring Data See here: https://docs.spring.io/spring-data/jpa/docs/current/reference/html/jpa.repositories.html#jpa.query-methods.query-creation * * @author Ken Krebs * @author Juergen Hoeller diff --git a/src/main/java/org/springframework/samples/petclinic/vet/VetRepository.java b/src/main/java/org/springframework/samples/petclinic/vet/VetRepository.java index 20863ce76..c3594feee 100644 --- a/src/main/java/org/springframework/samples/petclinic/vet/VetRepository.java +++ b/src/main/java/org/springframework/samples/petclinic/vet/VetRepository.java @@ -24,7 +24,7 @@ import org.springframework.transaction.annotation.Transactional; /** * Repository class for Vet domain objects All method names are compliant with Spring Data naming - * conventions so this interface can easily be extended for Spring Data See here: http://static.springsource.org/spring-data/jpa/docs/current/reference/html/jpa.repositories.html#jpa.query-methods.query-creation + * conventions so this interface can easily be extended for Spring Data See here: https://docs.spring.io/spring-data/jpa/docs/current/reference/html/jpa.repositories.html#jpa.query-methods.query-creation * * @author Ken Krebs * @author Juergen Hoeller diff --git a/src/main/java/org/springframework/samples/petclinic/visit/VisitRepository.java b/src/main/java/org/springframework/samples/petclinic/visit/VisitRepository.java index c7853d170..25a117e94 100644 --- a/src/main/java/org/springframework/samples/petclinic/visit/VisitRepository.java +++ b/src/main/java/org/springframework/samples/petclinic/visit/VisitRepository.java @@ -23,7 +23,7 @@ import org.springframework.samples.petclinic.model.BaseEntity; /** * Repository class for Visit domain objects All method names are compliant with Spring Data naming - * conventions so this interface can easily be extended for Spring Data See here: http://static.springsource.org/spring-data/jpa/docs/current/reference/html/jpa.repositories.html#jpa.query-methods.query-creation + * conventions so this interface can easily be extended for Spring Data See here: https://docs.spring.io/spring-data/jpa/docs/current/reference/html/jpa.repositories.html#jpa.query-methods.query-creation * * @author Ken Krebs * @author Juergen Hoeller diff --git a/src/main/resources/templates/error.html b/src/main/resources/templates/error.html index 2b40d7f98..b9026690e 100644 --- a/src/main/resources/templates/error.html +++ b/src/main/resources/templates/error.html @@ -1,6 +1,6 @@ - + diff --git a/src/main/resources/templates/owners/createOrUpdateOwnerForm.html b/src/main/resources/templates/owners/createOrUpdateOwnerForm.html index ca22d9de1..c835f8ccb 100644 --- a/src/main/resources/templates/owners/createOrUpdateOwnerForm.html +++ b/src/main/resources/templates/owners/createOrUpdateOwnerForm.html @@ -1,4 +1,4 @@ - diff --git a/src/main/resources/templates/owners/findOwners.html b/src/main/resources/templates/owners/findOwners.html index 982be5e81..134e687fd 100644 --- a/src/main/resources/templates/owners/findOwners.html +++ b/src/main/resources/templates/owners/findOwners.html @@ -1,4 +1,4 @@ - diff --git a/src/main/resources/templates/owners/ownerDetails.html b/src/main/resources/templates/owners/ownerDetails.html index ed89462b3..fa2b71ee9 100644 --- a/src/main/resources/templates/owners/ownerDetails.html +++ b/src/main/resources/templates/owners/ownerDetails.html @@ -1,6 +1,6 @@ - diff --git a/src/main/resources/templates/owners/ownersList.html b/src/main/resources/templates/owners/ownersList.html index 478b37e5d..acf7e02d0 100644 --- a/src/main/resources/templates/owners/ownersList.html +++ b/src/main/resources/templates/owners/ownersList.html @@ -1,6 +1,6 @@ - + diff --git a/src/main/resources/templates/pets/createOrUpdatePetForm.html b/src/main/resources/templates/pets/createOrUpdatePetForm.html index a0c182aa5..af87f3876 100644 --- a/src/main/resources/templates/pets/createOrUpdatePetForm.html +++ b/src/main/resources/templates/pets/createOrUpdatePetForm.html @@ -1,4 +1,4 @@ - diff --git a/src/main/resources/templates/pets/createOrUpdateVisitForm.html b/src/main/resources/templates/pets/createOrUpdateVisitForm.html index 609a735f9..d7589c3bc 100644 --- a/src/main/resources/templates/pets/createOrUpdateVisitForm.html +++ b/src/main/resources/templates/pets/createOrUpdateVisitForm.html @@ -1,4 +1,4 @@ - diff --git a/src/main/resources/templates/vets/vetList.html b/src/main/resources/templates/vets/vetList.html index 1961ad405..4fc961793 100644 --- a/src/main/resources/templates/vets/vetList.html +++ b/src/main/resources/templates/vets/vetList.html @@ -1,6 +1,6 @@ - diff --git a/src/main/resources/templates/welcome.html b/src/main/resources/templates/welcome.html index 6b4ff0480..4fa1cd328 100644 --- a/src/main/resources/templates/welcome.html +++ b/src/main/resources/templates/welcome.html @@ -1,6 +1,6 @@ - +