From 41ae895eec05437ffdb43a950e248555cf010cfc Mon Sep 17 00:00:00 2001 From: Daniel Muehlbachler Date: Tue, 5 Mar 2019 14:08:36 +0100 Subject: [PATCH] #196 update urls as per checkstyle/checkstyle#6478 --- checkstyle-sonar-plugin/config/import-control-test.xml | 2 +- checkstyle-sonar-plugin/config/import-control.xml | 2 +- checkstyle-sonar-plugin/config/sevntu_suppressions.xml | 2 +- checkstyle-sonar-plugin/config/suppressions-xpath.xml | 2 +- checkstyle-sonar-plugin/config/suppressions.xml | 2 +- .../org/sonar/plugins/checkstyle/CheckstyleProfileExporter.java | 2 +- .../idPropertyShouldBeTheRuleKey.xml | 2 +- .../shouldUseTheIdPropertyToFindRule.xml | 2 +- .../plugins/checkstyle/CheckstyleProfileImporterTest/simple.xml | 2 +- checkstyle-sonar-plugin/test-resources/checkstyle-conf.xml | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/checkstyle-sonar-plugin/config/import-control-test.xml b/checkstyle-sonar-plugin/config/import-control-test.xml index 90fa1870..3e8d70d6 100644 --- a/checkstyle-sonar-plugin/config/import-control-test.xml +++ b/checkstyle-sonar-plugin/config/import-control-test.xml @@ -1,7 +1,7 @@ + "https://checkstyle.org/dtds/import_control_1_3.dtd"> diff --git a/checkstyle-sonar-plugin/config/import-control.xml b/checkstyle-sonar-plugin/config/import-control.xml index 20c6d84b..7ed1cc4e 100644 --- a/checkstyle-sonar-plugin/config/import-control.xml +++ b/checkstyle-sonar-plugin/config/import-control.xml @@ -1,7 +1,7 @@ + "https://checkstyle.org/dtds/import_control_1_2.dtd"> diff --git a/checkstyle-sonar-plugin/config/sevntu_suppressions.xml b/checkstyle-sonar-plugin/config/sevntu_suppressions.xml index a20a59f1..455ab5fa 100644 --- a/checkstyle-sonar-plugin/config/sevntu_suppressions.xml +++ b/checkstyle-sonar-plugin/config/sevntu_suppressions.xml @@ -2,7 +2,7 @@ + "https://checkstyle.org/dtds/suppressions_1_1.dtd"> diff --git a/checkstyle-sonar-plugin/config/suppressions-xpath.xml b/checkstyle-sonar-plugin/config/suppressions-xpath.xml index f7cc071e..c85daaf0 100644 --- a/checkstyle-sonar-plugin/config/suppressions-xpath.xml +++ b/checkstyle-sonar-plugin/config/suppressions-xpath.xml @@ -2,7 +2,7 @@ + "https://checkstyle.org/dtds/suppressions_1_2_xpath_experimental.dtd"> diff --git a/checkstyle-sonar-plugin/config/suppressions.xml b/checkstyle-sonar-plugin/config/suppressions.xml index d16d8c0c..97de1608 100644 --- a/checkstyle-sonar-plugin/config/suppressions.xml +++ b/checkstyle-sonar-plugin/config/suppressions.xml @@ -2,7 +2,7 @@ + "https://checkstyle.org/dtds/suppressions_1_1.dtd"> diff --git a/checkstyle-sonar-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstyleProfileExporter.java b/checkstyle-sonar-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstyleProfileExporter.java index ae9e958e..00f6509d 100644 --- a/checkstyle-sonar-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstyleProfileExporter.java +++ b/checkstyle-sonar-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstyleProfileExporter.java @@ -49,7 +49,7 @@ public class CheckstyleProfileExporter extends ProfileExporter { public static final String DOCTYPE_DECLARATION = ""; + + "\"https://checkstyle.org/dtds/configuration_1_2.dtd\">"; private static final String CLOSE_MODULE = ""; private final Configuration configuration; diff --git a/checkstyle-sonar-plugin/src/test/resources/org/sonar/plugins/checkstyle/CheckstyleProfileImporterTest/idPropertyShouldBeTheRuleKey.xml b/checkstyle-sonar-plugin/src/test/resources/org/sonar/plugins/checkstyle/CheckstyleProfileImporterTest/idPropertyShouldBeTheRuleKey.xml index 0229f0c2..2fce1f28 100644 --- a/checkstyle-sonar-plugin/src/test/resources/org/sonar/plugins/checkstyle/CheckstyleProfileImporterTest/idPropertyShouldBeTheRuleKey.xml +++ b/checkstyle-sonar-plugin/src/test/resources/org/sonar/plugins/checkstyle/CheckstyleProfileImporterTest/idPropertyShouldBeTheRuleKey.xml @@ -1,5 +1,5 @@ - + diff --git a/checkstyle-sonar-plugin/src/test/resources/org/sonar/plugins/checkstyle/CheckstyleProfileImporterTest/shouldUseTheIdPropertyToFindRule.xml b/checkstyle-sonar-plugin/src/test/resources/org/sonar/plugins/checkstyle/CheckstyleProfileImporterTest/shouldUseTheIdPropertyToFindRule.xml index 149a5ed0..173ac154 100644 --- a/checkstyle-sonar-plugin/src/test/resources/org/sonar/plugins/checkstyle/CheckstyleProfileImporterTest/shouldUseTheIdPropertyToFindRule.xml +++ b/checkstyle-sonar-plugin/src/test/resources/org/sonar/plugins/checkstyle/CheckstyleProfileImporterTest/shouldUseTheIdPropertyToFindRule.xml @@ -1,5 +1,5 @@ - + diff --git a/checkstyle-sonar-plugin/src/test/resources/org/sonar/plugins/checkstyle/CheckstyleProfileImporterTest/simple.xml b/checkstyle-sonar-plugin/src/test/resources/org/sonar/plugins/checkstyle/CheckstyleProfileImporterTest/simple.xml index 3cf5c96d..96e6055b 100644 --- a/checkstyle-sonar-plugin/src/test/resources/org/sonar/plugins/checkstyle/CheckstyleProfileImporterTest/simple.xml +++ b/checkstyle-sonar-plugin/src/test/resources/org/sonar/plugins/checkstyle/CheckstyleProfileImporterTest/simple.xml @@ -1,5 +1,5 @@ - + diff --git a/checkstyle-sonar-plugin/test-resources/checkstyle-conf.xml b/checkstyle-sonar-plugin/test-resources/checkstyle-conf.xml index e66363f0..aced4b09 100644 --- a/checkstyle-sonar-plugin/test-resources/checkstyle-conf.xml +++ b/checkstyle-sonar-plugin/test-resources/checkstyle-conf.xml @@ -1,5 +1,5 @@ - +