From cf7e4c19e3bcb4a3cdf686529e62f2b468fb9837 Mon Sep 17 00:00:00 2001 From: Rick Giles Date: Mon, 18 Nov 2002 10:03:05 +0000 Subject: [PATCH] renamed XML element "set-property" to "property" --- docs/checkstyle_checks.xml | 20 +++++++++---------- docs/configuration.dtd | 10 +++++----- .../tools/checkstyle/ConfigurationLoader.java | 2 +- .../configs/conflict_configuration.xml | 6 +++--- .../configs/fromglobal_configuration.xml | 4 ++-- .../override_default_configuration.xml | 14 ++++++------- .../configs/property_configuration.xml | 14 ++++++------- .../configs/rightcurlycheck_configuration.xml | 2 +- 8 files changed, 36 insertions(+), 36 deletions(-) diff --git a/docs/checkstyle_checks.xml b/docs/checkstyle_checks.xml index 7da03b9f1..a8edaf98b 100644 --- a/docs/checkstyle_checks.xml +++ b/docs/checkstyle_checks.xml @@ -4,7 +4,7 @@ --> - + @@ -23,7 +23,7 @@ - + @@ -34,7 +34,7 @@ - + @@ -49,13 +49,13 @@ DOT - + DOT - + @@ -66,10 +66,10 @@ ASSIGN, DIV_ASSIGN, PLUS_ASSIGN, MINUS_ASSIGN, STAR_ASSIGN, MOD_ASSIGN, SR_ASSIGN, BSR_ASSIGN, SL_ASSIGN, BXOR_ASSIGN, BOR_ASSIGN, BAND_ASSIGN - + - + @@ -81,7 +81,7 @@ - + @@ -90,7 +90,7 @@ - + @@ -102,7 +102,7 @@ diff --git a/docs/configuration.dtd b/docs/configuration.dtd index 1e5296ee1..39ceda285 100644 --- a/docs/configuration.dtd +++ b/docs/configuration.dtd @@ -2,13 +2,13 @@ DTD for a checkstyle configuration. --> - - + + - \ No newline at end of file diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/ConfigurationLoader.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/ConfigurationLoader.java index 7944b0bff..471f296f9 100644 --- a/src/checkstyle/com/puppycrawl/tools/checkstyle/ConfigurationLoader.java +++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/ConfigurationLoader.java @@ -136,7 +136,7 @@ class ConfigurationLoader mCurrent = new CheckConfiguration(); mCurrent.setClassname(aAtts.getValue("classname")); } - else if ("set-property".equals(aQName)) { + else if ("property".equals(aQName)) { final String name = aAtts.getValue("name"); String value = aAtts.getValue("value"); diff --git a/src/testinputs/com/puppycrawl/tools/checkstyle/configs/conflict_configuration.xml b/src/testinputs/com/puppycrawl/tools/checkstyle/configs/conflict_configuration.xml index 6bb66403b..403180042 100644 --- a/src/testinputs/com/puppycrawl/tools/checkstyle/configs/conflict_configuration.xml +++ b/src/testinputs/com/puppycrawl/tools/checkstyle/configs/conflict_configuration.xml @@ -1,10 +1,10 @@ - + - - + + diff --git a/src/testinputs/com/puppycrawl/tools/checkstyle/configs/fromglobal_configuration.xml b/src/testinputs/com/puppycrawl/tools/checkstyle/configs/fromglobal_configuration.xml index 1a4cdd7e5..43ae4a68f 100644 --- a/src/testinputs/com/puppycrawl/tools/checkstyle/configs/fromglobal_configuration.xml +++ b/src/testinputs/com/puppycrawl/tools/checkstyle/configs/fromglobal_configuration.xml @@ -1,9 +1,9 @@ - + - + diff --git a/src/testinputs/com/puppycrawl/tools/checkstyle/configs/override_default_configuration.xml b/src/testinputs/com/puppycrawl/tools/checkstyle/configs/override_default_configuration.xml index 8eba00e65..825b67d0e 100644 --- a/src/testinputs/com/puppycrawl/tools/checkstyle/configs/override_default_configuration.xml +++ b/src/testinputs/com/puppycrawl/tools/checkstyle/configs/override_default_configuration.xml @@ -1,12 +1,12 @@ - - - - - - - + + + + + + + diff --git a/src/testinputs/com/puppycrawl/tools/checkstyle/configs/property_configuration.xml b/src/testinputs/com/puppycrawl/tools/checkstyle/configs/property_configuration.xml index 46c66d058..db897eda3 100644 --- a/src/testinputs/com/puppycrawl/tools/checkstyle/configs/property_configuration.xml +++ b/src/testinputs/com/puppycrawl/tools/checkstyle/configs/property_configuration.xml @@ -1,12 +1,12 @@ - - - - - - - + + + + + + + diff --git a/src/testinputs/com/puppycrawl/tools/checkstyle/configs/rightcurlycheck_configuration.xml b/src/testinputs/com/puppycrawl/tools/checkstyle/configs/rightcurlycheck_configuration.xml index 00c1af33f..a42878ebf 100644 --- a/src/testinputs/com/puppycrawl/tools/checkstyle/configs/rightcurlycheck_configuration.xml +++ b/src/testinputs/com/puppycrawl/tools/checkstyle/configs/rightcurlycheck_configuration.xml @@ -1,6 +1,6 @@ - +