Skip to content

Commit 05f6751

Browse files
committed
Fix #85: Additional changes to public name and other missed updates
1 parent a8f1d45 commit 05f6751

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

net.sf.eclipsecs.checkstyle/metadata/checkstyle_packages.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<!DOCTYPE checkstyle-packages PUBLIC
4-
"-//Puppy Crawl//DTD Package Names 1.0//EN"
5-
"http://checkstyle.sourceforge.net/dtds/packages_1_0.dtd">
4+
"-//Checkstyle//DTD Package Names 1.0//EN"
5+
"http://checkstyle.org/dtds/packages_1_0.dtd">
66

77
<checkstyle-packages>
88
<package name="com.puppycrawl.tools.checkstyle">

net.sf.eclipsecs.core/src/net/sf/eclipsecs/core/config/ConfigurationReader.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ public final class ConfigurationReader {
6767
"com/puppycrawl/tools/checkstyle/configuration_1_2.dtd"); //$NON-NLS-1$
6868
PUBLIC2INTERNAL_DTD_MAP.put("-//Puppy Crawl//DTD Check Configuration 1.3//EN", //$NON-NLS-1$
6969
"com/puppycrawl/tools/checkstyle/configuration_1_3.dtd"); //$NON-NLS-1$
70+
PUBLIC2INTERNAL_DTD_MAP.put("-//Puppy Crawl//DTD Check Configuration 1.3//EN", //$NON-NLS-1$
71+
"com/puppycrawl/tools/checkstyle/configuration_1_3.dtd"); //$NON-NLS-1$
72+
PUBLIC2INTERNAL_DTD_MAP.put("-//Checkstyle//DTD Check Configuration 1.3//EN", //$NON-NLS-1$
73+
"com/puppycrawl/tools/checkstyle/configuration_1_3.dtd"); //$NON-NLS-1$
7074
}
7175

7276
/** Hidden default constructor to prevent instantiation. */

net.sf.eclipsecs.core/src/net/sf/eclipsecs/core/config/ConfigurationWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public static void write(OutputStream out, List<Module> modules, ICheckConfigura
8989
SaveFilters.process(modules);
9090

9191
Document doc = DocumentHelper.createDocument();
92-
doc.addDocType(XMLTags.MODULE_TAG, "-//Puppy Crawl//DTD Check Configuration 1.3//EN",
92+
doc.addDocType(XMLTags.MODULE_TAG, "-//Checkstyle//DTD Check Configuration 1.3//EN",
9393
"https://checkstyle.org/dtds/configuration_1_3.dtd");
9494

9595
String lineSeperator = System.getProperty("line.separator"); //$NON-NLS-1$

net.sf.eclipsecs.sample/sample_checks.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!-- This configuration file was written by the eclipse-cs plugin configuration editor -->
33
<!-- Checkstyle-Configuration: Test Description: none -->
4-
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd">
4+
<!DOCTYPE module PUBLIC "-//Checkstyle//DTD Check Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd">
55
<module name="Checker">
66
<property name="severity" value="warning" />
77

net.sf.eclipsecs.sample/src/checkstyle_packages.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<!DOCTYPE checkstyle-packages PUBLIC
4-
"-//Puppy Crawl//DTD Package Names 1.0//EN"
4+
"-//Checkstyle//DTD Package Names 1.0//EN"
55
"http://checkstyle.org/dtds/packages_1_0.dtd">
66

77
<checkstyle-packages>

0 commit comments

Comments
 (0)