Skip to content

Commit ecde1bf

Browse files
BananeweizenCalixte
authored andcommitted
Infra: declare all DTDs with checkstyle.org
Let all DTDs point to the current host instead of the old sourceforge host.
1 parent d4004d7 commit ecde1bf

File tree

27 files changed

+31
-31
lines changed

27 files changed

+31
-31
lines changed

docs/dtds/checkstyle-metadata_1_0.dtd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<!DOCTYPE checkstyle-metadata PUBLIC
66
"-//eclipse-cs//DTD Check Metadata 1.0//EN"
7-
"http://eclipse-cs.sourceforge.net/dtds/checkstyle-metadata_1_0.dtd">
7+
"https://checkstyle.org/eclipse-cs/dtds/checkstyle-metadata_1_0.dtd">
88
-->
99

1010
<!--

docs/dtds/checkstyle-metadata_1_1.dtd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<!DOCTYPE checkstyle-metadata PUBLIC
66
"-//eclipse-cs//DTD Check Metadata 1.1//EN"
7-
"http://eclipse-cs.sourceforge.net/dtds/checkstyle-metadata_1_1.dtd">
7+
"https://checkstyle.org/eclipse-cs/dtds/checkstyle-metadata_1_1.dtd">
88
-->
99

1010
<!--

docs/partials/custom-checks.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ <h1>Providing custom Checkstyle checks</h1>
4747
<strong> In order to let the plug-in find your metadata you need to declare the package within your
4848
<code>checkstyle_packages.xml</code> file (see point 2). </strong>
4949
<br/> The metadata file must adhere to this dtd: <a target="_blank"
50-
href="http://eclipse-cs.sourceforge.net/dtds/checkstyle-metadata_1_1.dtd"
51-
>http://eclipse-cs.sourceforge.net/dtds/checkstyle-metadata_1_1.dtd</a> . <br/> So it would be a
50+
href="https://checkstyle.org/eclipse-cs/dtds/checkstyle-metadata_1_1.dtd"
51+
>https://checkstyle.org/eclipse-cs/dtds/checkstyle-metadata_1_1.dtd</a> . <br/> So it would be a
5252
good idea to include this document type declaration to your metadata file: </p>
5353
<pre><code>&lt;!DOCTYPE checkstyle-metadata
5454
PUBLIC &quot;-//eclipse-cs//DTD Check Metadata 1.1//EN&quot;
55-
&quot;http://eclipse-cs.sourceforge.net/dtds/checkstyle-metadata_1_1.dtd&quot;&gt;</code></pre>
55+
&quot;https://checkstyle.org/eclipse-cs/dtds/checkstyle-metadata_1_1.dtd&quot;&gt;</code></pre>
5656
<p>This way you can validate your metadata file against the dtd using your preferred XML editor.</p>
5757
<p> The dtd file itself contains an abundance of documentation on the tags and their attributes, further
5858
further practical reference you may want to peek into the <code>net.sf.eclipsecs.checkstyle</code>

net.sf.eclipsecs.checkstyle/metadata/com/puppycrawl/tools/checkstyle/checks/annotation/checkstyle-metadata.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
<!DOCTYPE checkstyle-metadata PUBLIC
33
"-//eclipse-cs//DTD Check Metadata 1.1//EN"
4-
"http://eclipse-cs.sourceforge.net/dtds/checkstyle-metadata_1_1.dtd">
4+
"https://checkstyle.org/eclipse-cs/dtds/checkstyle-metadata_1_1.dtd">
55
<checkstyle-metadata>
66
<rule-group-metadata name="%Annotation.group" priority="100">
77
</rule-group-metadata>

net.sf.eclipsecs.checkstyle/metadata/com/puppycrawl/tools/checkstyle/checks/blocks/checkstyle-metadata.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
<!DOCTYPE checkstyle-metadata PUBLIC
33
"-//eclipse-cs//DTD Check Metadata 1.1//EN"
4-
"http://eclipse-cs.sourceforge.net/dtds/checkstyle-metadata_1_1.dtd">
4+
"https://checkstyle.org/eclipse-cs/dtds/checkstyle-metadata_1_1.dtd">
55
<checkstyle-metadata>
66
<rule-group-metadata name="%Blocks.group" priority="800">
77
</rule-group-metadata>

net.sf.eclipsecs.checkstyle/metadata/com/puppycrawl/tools/checkstyle/checks/checkstyle-metadata.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
<!DOCTYPE checkstyle-metadata PUBLIC
33
"-//eclipse-cs//DTD Check Metadata 1.1//EN"
4-
"http://eclipse-cs.sourceforge.net/dtds/checkstyle-metadata_1_1.dtd">
4+
"https://checkstyle.org/eclipse-cs/dtds/checkstyle-metadata_1_1.dtd">
55
<checkstyle-metadata>
66
<rule-group-metadata name="%Miscellaneous.group" priority="1300">
77
</rule-group-metadata>

net.sf.eclipsecs.checkstyle/metadata/com/puppycrawl/tools/checkstyle/checks/coding/checkstyle-metadata.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
<!DOCTYPE checkstyle-metadata PUBLIC
33
"-//eclipse-cs//DTD Check Metadata 1.1//EN"
4-
"http://eclipse-cs.sourceforge.net/dtds/checkstyle-metadata_1_1.dtd">
4+
"https://checkstyle.org/eclipse-cs/dtds/checkstyle-metadata_1_1.dtd">
55
<checkstyle-metadata>
66
<rule-group-metadata name="%Coding.group" priority="900">
77
</rule-group-metadata>

net.sf.eclipsecs.checkstyle/metadata/com/puppycrawl/tools/checkstyle/checks/design/checkstyle-metadata.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
<!DOCTYPE checkstyle-metadata PUBLIC
33
"-//eclipse-cs//DTD Check Metadata 1.1//EN"
4-
"http://eclipse-cs.sourceforge.net/dtds/checkstyle-metadata_1_1.dtd">
4+
"https://checkstyle.org/eclipse-cs/dtds/checkstyle-metadata_1_1.dtd">
55
<checkstyle-metadata>
66
<rule-group-metadata name="%Design.group" priority="1000">
77
</rule-group-metadata>

net.sf.eclipsecs.checkstyle/metadata/com/puppycrawl/tools/checkstyle/checks/header/checkstyle-metadata.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
<!DOCTYPE checkstyle-metadata PUBLIC
33
"-//eclipse-cs//DTD Check Metadata 1.1//EN"
4-
"http://eclipse-cs.sourceforge.net/dtds/checkstyle-metadata_1_1.dtd">
4+
"https://checkstyle.org/eclipse-cs/dtds/checkstyle-metadata_1_1.dtd">
55
<checkstyle-metadata>
66
<rule-group-metadata name="%Headers.group" priority="300">
77
</rule-group-metadata>

net.sf.eclipsecs.checkstyle/metadata/com/puppycrawl/tools/checkstyle/checks/imports/checkstyle-metadata.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
<!DOCTYPE checkstyle-metadata PUBLIC
33
"-//eclipse-cs//DTD Check Metadata 1.1//EN"
4-
"http://eclipse-cs.sourceforge.net/dtds/checkstyle-metadata_1_1.dtd">
4+
"https://checkstyle.org/eclipse-cs/dtds/checkstyle-metadata_1_1.dtd">
55
<checkstyle-metadata>
66
<rule-group-metadata name="%Imports.group" priority="400">
77
</rule-group-metadata>

0 commit comments

Comments
 (0)