From b7b830b8e27080d274ecf7f5dac27e164261b652 Mon Sep 17 00:00:00 2001 From: Spring Operator Date: Tue, 19 Mar 2019 22:41:17 -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://www.puppycrawl.com/dtds/configuration_1_2.dtd (404) with 1 occurrences migrated to: https://www.puppycrawl.com/dtds/configuration_1_2.dtd ([https](https://www.puppycrawl.com/dtds/configuration_1_2.dtd) result 404). * http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to: https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd) 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://maven.apache.org/xsd/maven-4.0.0.xsd with 3 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). # Ignored These URLs were intentionally ignored. * http://maven.apache.org/POM/4.0.0 with 6 occurrences * http://www.w3.org/2001/XMLSchema-instance with 3 occurrences * Use the latest Checkstyle DTDs with their HTTPS variants --- build.gradle | 2 +- samples/sample-01/pom.xml | 2 +- samples/sample-02/pom.xml | 2 +- samples/sample-03/pom.xml | 2 +- src/checkstyle/checkstyle-suppressions.xml | 14 +- src/checkstyle/checkstyle.xml | 162 +++++++++++---------- 6 files changed, 93 insertions(+), 91 deletions(-) diff --git a/build.gradle b/build.gradle index 523b2db2..2a94b879 100644 --- a/build.gradle +++ b/build.gradle @@ -133,7 +133,7 @@ subprojects { subproject -> checkstyle { configFile = file("${rootDir}/src/checkstyle/checkstyle.xml") - toolVersion = "8.17" + toolVersion = "8.18" } jacocoTestReport { diff --git a/samples/sample-01/pom.xml b/samples/sample-01/pom.xml index 2cfc2fea..90953b89 100644 --- a/samples/sample-01/pom.xml +++ b/samples/sample-01/pom.xml @@ -1,6 +1,6 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.example diff --git a/samples/sample-02/pom.xml b/samples/sample-02/pom.xml index 33ae9658..4ae2b989 100644 --- a/samples/sample-02/pom.xml +++ b/samples/sample-02/pom.xml @@ -1,6 +1,6 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.example diff --git a/samples/sample-03/pom.xml b/samples/sample-03/pom.xml index 1963648d..d8b949b9 100644 --- a/samples/sample-03/pom.xml +++ b/samples/sample-03/pom.xml @@ -1,6 +1,6 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.example diff --git a/src/checkstyle/checkstyle-suppressions.xml b/src/checkstyle/checkstyle-suppressions.xml index 1c707c3b..3cdb29a5 100644 --- a/src/checkstyle/checkstyle-suppressions.xml +++ b/src/checkstyle/checkstyle-suppressions.xml @@ -1,11 +1,11 @@ + "-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN" + "https://checkstyle.org/dtds/suppressions_1_2.dtd"> - - - - - + + + + + diff --git a/src/checkstyle/checkstyle.xml b/src/checkstyle/checkstyle.xml index f369d49d..8dc3fa11 100644 --- a/src/checkstyle/checkstyle.xml +++ b/src/checkstyle/checkstyle.xml @@ -1,15 +1,17 @@ - + - + - - + + @@ -20,63 +22,63 @@ - + - - + + + value="false"/> - + - + - + - - + + - - - - - - + + + + + + - - - - - - - + + + + + + + - + - + - + - + - - + + - + - + + org.springframework.kafka.test.assertj.KafkaConditions.*"/> - - + + - + - - - - - + + + + + @@ -108,7 +110,7 @@ - + @@ -116,73 +118,73 @@ - + - + - + - + - - - + + + - + - + - + value="Line has leading space characters; indentation should be performed with tabs only."/> + - - - - - - - + - + value="Please use BDDMockito instead of Mockito.(when|doThrow|doAnswer)."/> + + + + + + + - - - + + + - - - + + + - - - + + + - - - - - + + + + +