Skip to content
Permalink
Browse files

[MINOR][BUILD] Update all checkstyle dtd to use "https://checkstyle.org"

## What changes were proposed in this pull request?

Below build failed with Java checkstyle test, but instead of violation it shows FileNotFound on dtd file.
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/102751/

Looks like the link of dtd file is dead `http://www.puppycrawl.com/dtds/configuration_1_3.dtd`.

This patch updates the dtd link to "https://checkstyle.org/dtds/" given checkstyle repository also updated the URL path.
checkstyle/checkstyle#5601

## How was this patch tested?

Checked the new links.

Closes #23887 from HeartSaVioR/java-checkstyle-dtd-change-url.

Authored-by: Jungtaek Lim (HeartSaVioR) <kabhwan@gmail.com>
Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
(cherry picked from commit c5de804)
Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
  • Loading branch information...
HeartSaVioR authored and vanzin committed Feb 25, 2019
1 parent ae1b44c commit 3ece965c09c5d805a530fd33896ec0bb804eef8c
Showing with 2 additions and 2 deletions.
  1. +1 −1 dev/checkstyle-suppressions.xml
  2. +1 −1 dev/checkstyle.xml
@@ -17,7 +17,7 @@

<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
"https://checkstyle.org/dtds/suppressions_1_1.dtd">

<!--
@@ -17,7 +17,7 @@

<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
"https://checkstyle.org/dtds/configuration_1_3.dtd">

<!--

0 comments on commit 3ece965

Please sign in to comment.
You can’t perform that action at this time.