]> source.dussan.org Git - sonarqube.git/commitdiff
Fix EOLs
authorEvgeny Mandrikov <mandrikov@gmail.com>
Wed, 8 Aug 2012 16:13:18 +0000 (22:13 +0600)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Wed, 8 Aug 2012 16:13:18 +0000 (22:13 +0600)
plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/pmd-plugin.properties
plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/profile-sonar-way.xml
plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/profile-sun-conventions.xml
plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/rules-unit-tests.xml

index f1a9e8dc86d806aa1de2ccf1ca2dbc7cbca2f06f..4492c675e54a6457ca1132f99648ea8b171f5b99 100644 (file)
@@ -1,97 +1,97 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<ruleset xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd" xmlns="http://pmd.sf.net/ruleset/1.0.0" xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd" name="Sonar rules set" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
-  <description>Sonar PMD rules generated configuration</description>\r
-  <rule ref="rulesets/basic.xml/UnusedNullCheckInEquals" />\r
-  <rule ref="rulesets/strings.xml/StringInstantiation" />\r
-  <rule ref="rulesets/design.xml/ConstructorCallsOverridableMethod" />\r
-  <rule ref="rulesets/strictexception.xml/AvoidCatchingNPE" />\r
-  <rule ref="rulesets/strictexception.xml/AvoidRethrowingException" />\r
-  <rule ref="rulesets/migrating.xml/ReplaceEnumerationWithIterator" />\r
-  <rule ref="rulesets/optimizations.xml/AvoidArrayLoops" />\r
-  <rule ref="rulesets/unusedcode.xml/UnusedFormalParameter" />\r
-  <rule ref="rulesets/basic.xml/EmptySwitchStatements" />\r
-  <rule ref="rulesets/basic.xml/ClassCastExceptionWithToArray" />\r
-  <rule ref="rulesets/strictexception.xml/AvoidThrowingNullPointerException" />\r
-  <rule ref="rulesets/unusedcode.xml/UnusedPrivateField" />\r
-  <rule ref="rulesets/design.xml/CompareObjectsWithEquals" />\r
-  <rule ref="rulesets/strings.xml/UseIndexOfChar" />\r
-  <rule ref="rulesets/basic.xml/BigIntegerInstantiation" />\r
-  <rule ref="rulesets/design.xml/FinalFieldCouldBeStatic" />\r
-  <rule ref="rulesets/braces.xml/IfStmtsMustUseBraces" />\r
-  <rule ref="rulesets/naming.xml/SuspiciousEqualsMethodName" />\r
-  <rule ref="rulesets/design.xml/InstantiationToGetClass" />\r
-  <rule ref="rulesets/naming.xml/SuspiciousHashcodeMethodName" />\r
-  <rule ref="rulesets/coupling.xml/LooseCoupling" />\r
-  <rule ref="rulesets/unusedcode.xml/UnusedLocalVariable" />\r
-  <rule ref="rulesets/strings.xml/UnnecessaryCaseChange" />\r
-  <rule ref="rulesets/basic.xml/EmptySynchronizedBlock" />\r
-  <rule ref="rulesets/design.xml/SingularField" />\r
-  <rule ref="rulesets/unusedcode.xml/UnusedPrivateMethod" />\r
-  <rule ref="rulesets/design.xml/CloseResource" />\r
-  <rule ref="rulesets/strictexception.xml/AvoidCatchingThrowable" />\r
-  <rule ref="rulesets/basic.xml/EmptyWhileStmt" />\r
-  <rule ref="rulesets/basic.xml/CollapsibleIfStatements" />\r
-  <rule ref="rulesets/basic.xml/UselessOperationOnImmutable" />\r
-  <rule ref="rulesets/clone.xml/CloneMethodMustImplementCloneable" />\r
-  <rule ref="rulesets/basic.xml/UselessOverridingMethod" />\r
-  <rule ref="rulesets/controversial.xml/UnusedModifier" />\r
-  <rule ref="rulesets/design.xml/PreserveStackTrace" />\r
-  <rule ref="rulesets/optimizations.xml/UseArraysAsList" />\r
-  <rule ref="rulesets/strictexception.xml/AvoidThrowingRawExceptionTypes" />\r
-  <rule ref="rulesets/basic.xml/EmptyIfStmt" />\r
-  <rule ref="rulesets/design.xml/EqualsNull" />\r
-  <rule ref="rulesets/basic.xml/BrokenNullCheck" />\r
-  <rule ref="rulesets/logging-jakarta-commons.xml/UseCorrectExceptionLogging" />\r
-  <rule ref="rulesets/strings.xml/InefficientStringBuffering" />\r
-  <rule ref="rulesets/sunsecure.xml/ArrayIsStoredDirectly" />\r
-  <rule ref="rulesets/finalizers.xml/FinalizeOverloaded" />\r
-  <rule ref="rulesets/naming.xml/ClassNamingConventions" />\r
-  <rule ref="rulesets/controversial.xml/DontImportSun" />\r
-  <rule ref="rulesets/imports.xml/DontImportJavaLang" />\r
-  <rule ref="rulesets/design.xml/MissingStaticMethodInNonInstantiatableClass" />\r
-  <rule ref="rulesets/strings.xml/StringBufferInstantiationWithChar" />\r
-  <rule ref="rulesets/optimizations.xml/UseArrayListInsteadOfVector" />\r
-  <rule ref="rulesets/braces.xml/WhileLoopsMustUseBraces" />\r
-  <rule ref="rulesets/strings.xml/StringToString" />\r
-  <rule ref="rulesets/design.xml/SimplifyConditional" />\r
-  <rule ref="rulesets/migrating.xml/ReplaceVectorWithList" />\r
-  <rule ref="rulesets/codesize.xml/NcssMethodCount">\r
-    <properties>\r
-      <property value="50" name="minimum"/>\r
-    </properties>\r
-  </rule>\r
-  <rule ref="rulesets/logging-java.xml/AvoidPrintStackTrace" />\r
-  <rule ref="rulesets/naming.xml/MethodWithSameNameAsEnclosingClass" />\r
-  <rule ref="rulesets/naming.xml/SuspiciousConstantFieldName" />\r
-  <rule ref="rulesets/codesize.xml/NcssTypeCount">\r
-    <properties>\r
-      <property value="800" name="minimum"/>\r
-    </properties>\r
-  </rule>\r
-  <rule ref="rulesets/design.xml/AvoidInstanceofChecksInCatchClause" />\r
-  <rule ref="rulesets/basic.xml/EmptyFinallyBlock" />\r
-  <rule ref="rulesets/migrating.xml/IntegerInstantiation" />\r
-  <rule ref="rulesets/naming.xml/AvoidDollarSigns" />\r
-  <rule ref="rulesets/migrating.xml/AvoidAssertAsIdentifier" />\r
-  <rule ref="rulesets/design.xml/UnnecessaryLocalBeforeReturn" />\r
-  <rule ref="rulesets/finalizers.xml/AvoidCallingFinalize" />\r
-  <rule ref="rulesets/basic.xml/BooleanInstantiation" />\r
-  <rule ref="rulesets/basic.xml/UnconditionalIfStatement" />\r
-  <rule ref="rulesets/clone.xml/CloneThrowsCloneNotSupportedException" />\r
-  <rule ref="rulesets/migrating.xml/ReplaceHashtableWithMap" />\r
-  <rule ref="rulesets/basic.xml/AvoidDecimalLiteralsInBigDecimalConstructor" />\r
-  <rule ref="rulesets/braces.xml/ForLoopsMustUseBraces" />\r
-  <rule ref="rulesets/basic.xml/EmptyTryBlock" />\r
-  <rule ref="rulesets/strictexception.xml/SignatureDeclareThrowsException" />\r
-  <rule ref="rulesets/finalizers.xml/EmptyFinalizer" />\r
-  <rule ref="rulesets/design.xml/IdempotentOperations" />\r
-  <rule ref="rulesets/strictexception.xml/ExceptionAsFlowControl" />\r
-  <rule ref="rulesets/basic.xml/EmptyStaticInitializer" />\r
-  <rule ref="rulesets/finalizers.xml/FinalizeDoesNotCallSuperFinalize" />\r
-  <rule ref="rulesets/strings.xml/UseStringBufferLength" />\r
-  <rule ref="rulesets/migrating.xml/AvoidEnumAsIdentifier" />\r
-  <rule ref="rulesets/braces.xml/IfElseStmtsMustUseBraces" />\r
-  <rule ref="rulesets/logging-java.xml/SystemPrintln" />\r
-  <rule ref="rulesets/strings.xml/UselessStringValueOf" />\r
-  <rule ref="rulesets/strings.xml/AvoidDuplicateLiterals" />\r
-</ruleset>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<ruleset xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd" xmlns="http://pmd.sf.net/ruleset/1.0.0" xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd" name="Sonar rules set" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <description>Sonar PMD rules generated configuration</description>
+  <rule ref="rulesets/basic.xml/UnusedNullCheckInEquals" />
+  <rule ref="rulesets/strings.xml/StringInstantiation" />
+  <rule ref="rulesets/design.xml/ConstructorCallsOverridableMethod" />
+  <rule ref="rulesets/strictexception.xml/AvoidCatchingNPE" />
+  <rule ref="rulesets/strictexception.xml/AvoidRethrowingException" />
+  <rule ref="rulesets/migrating.xml/ReplaceEnumerationWithIterator" />
+  <rule ref="rulesets/optimizations.xml/AvoidArrayLoops" />
+  <rule ref="rulesets/unusedcode.xml/UnusedFormalParameter" />
+  <rule ref="rulesets/basic.xml/EmptySwitchStatements" />
+  <rule ref="rulesets/basic.xml/ClassCastExceptionWithToArray" />
+  <rule ref="rulesets/strictexception.xml/AvoidThrowingNullPointerException" />
+  <rule ref="rulesets/unusedcode.xml/UnusedPrivateField" />
+  <rule ref="rulesets/design.xml/CompareObjectsWithEquals" />
+  <rule ref="rulesets/strings.xml/UseIndexOfChar" />
+  <rule ref="rulesets/basic.xml/BigIntegerInstantiation" />
+  <rule ref="rulesets/design.xml/FinalFieldCouldBeStatic" />
+  <rule ref="rulesets/braces.xml/IfStmtsMustUseBraces" />
+  <rule ref="rulesets/naming.xml/SuspiciousEqualsMethodName" />
+  <rule ref="rulesets/design.xml/InstantiationToGetClass" />
+  <rule ref="rulesets/naming.xml/SuspiciousHashcodeMethodName" />
+  <rule ref="rulesets/coupling.xml/LooseCoupling" />
+  <rule ref="rulesets/unusedcode.xml/UnusedLocalVariable" />
+  <rule ref="rulesets/strings.xml/UnnecessaryCaseChange" />
+  <rule ref="rulesets/basic.xml/EmptySynchronizedBlock" />
+  <rule ref="rulesets/design.xml/SingularField" />
+  <rule ref="rulesets/unusedcode.xml/UnusedPrivateMethod" />
+  <rule ref="rulesets/design.xml/CloseResource" />
+  <rule ref="rulesets/strictexception.xml/AvoidCatchingThrowable" />
+  <rule ref="rulesets/basic.xml/EmptyWhileStmt" />
+  <rule ref="rulesets/basic.xml/CollapsibleIfStatements" />
+  <rule ref="rulesets/basic.xml/UselessOperationOnImmutable" />
+  <rule ref="rulesets/clone.xml/CloneMethodMustImplementCloneable" />
+  <rule ref="rulesets/basic.xml/UselessOverridingMethod" />
+  <rule ref="rulesets/controversial.xml/UnusedModifier" />
+  <rule ref="rulesets/design.xml/PreserveStackTrace" />
+  <rule ref="rulesets/optimizations.xml/UseArraysAsList" />
+  <rule ref="rulesets/strictexception.xml/AvoidThrowingRawExceptionTypes" />
+  <rule ref="rulesets/basic.xml/EmptyIfStmt" />
+  <rule ref="rulesets/design.xml/EqualsNull" />
+  <rule ref="rulesets/basic.xml/BrokenNullCheck" />
+  <rule ref="rulesets/logging-jakarta-commons.xml/UseCorrectExceptionLogging" />
+  <rule ref="rulesets/strings.xml/InefficientStringBuffering" />
+  <rule ref="rulesets/sunsecure.xml/ArrayIsStoredDirectly" />
+  <rule ref="rulesets/finalizers.xml/FinalizeOverloaded" />
+  <rule ref="rulesets/naming.xml/ClassNamingConventions" />
+  <rule ref="rulesets/controversial.xml/DontImportSun" />
+  <rule ref="rulesets/imports.xml/DontImportJavaLang" />
+  <rule ref="rulesets/design.xml/MissingStaticMethodInNonInstantiatableClass" />
+  <rule ref="rulesets/strings.xml/StringBufferInstantiationWithChar" />
+  <rule ref="rulesets/optimizations.xml/UseArrayListInsteadOfVector" />
+  <rule ref="rulesets/braces.xml/WhileLoopsMustUseBraces" />
+  <rule ref="rulesets/strings.xml/StringToString" />
+  <rule ref="rulesets/design.xml/SimplifyConditional" />
+  <rule ref="rulesets/migrating.xml/ReplaceVectorWithList" />
+  <rule ref="rulesets/codesize.xml/NcssMethodCount">
+    <properties>
+      <property value="50" name="minimum"/>
+    </properties>
+  </rule>
+  <rule ref="rulesets/logging-java.xml/AvoidPrintStackTrace" />
+  <rule ref="rulesets/naming.xml/MethodWithSameNameAsEnclosingClass" />
+  <rule ref="rulesets/naming.xml/SuspiciousConstantFieldName" />
+  <rule ref="rulesets/codesize.xml/NcssTypeCount">
+    <properties>
+      <property value="800" name="minimum"/>
+    </properties>
+  </rule>
+  <rule ref="rulesets/design.xml/AvoidInstanceofChecksInCatchClause" />
+  <rule ref="rulesets/basic.xml/EmptyFinallyBlock" />
+  <rule ref="rulesets/migrating.xml/IntegerInstantiation" />
+  <rule ref="rulesets/naming.xml/AvoidDollarSigns" />
+  <rule ref="rulesets/migrating.xml/AvoidAssertAsIdentifier" />
+  <rule ref="rulesets/design.xml/UnnecessaryLocalBeforeReturn" />
+  <rule ref="rulesets/finalizers.xml/AvoidCallingFinalize" />
+  <rule ref="rulesets/basic.xml/BooleanInstantiation" />
+  <rule ref="rulesets/basic.xml/UnconditionalIfStatement" />
+  <rule ref="rulesets/clone.xml/CloneThrowsCloneNotSupportedException" />
+  <rule ref="rulesets/migrating.xml/ReplaceHashtableWithMap" />
+  <rule ref="rulesets/basic.xml/AvoidDecimalLiteralsInBigDecimalConstructor" />
+  <rule ref="rulesets/braces.xml/ForLoopsMustUseBraces" />
+  <rule ref="rulesets/basic.xml/EmptyTryBlock" />
+  <rule ref="rulesets/strictexception.xml/SignatureDeclareThrowsException" />
+  <rule ref="rulesets/finalizers.xml/EmptyFinalizer" />
+  <rule ref="rulesets/design.xml/IdempotentOperations" />
+  <rule ref="rulesets/strictexception.xml/ExceptionAsFlowControl" />
+  <rule ref="rulesets/basic.xml/EmptyStaticInitializer" />
+  <rule ref="rulesets/finalizers.xml/FinalizeDoesNotCallSuperFinalize" />
+  <rule ref="rulesets/strings.xml/UseStringBufferLength" />
+  <rule ref="rulesets/migrating.xml/AvoidEnumAsIdentifier" />
+  <rule ref="rulesets/braces.xml/IfElseStmtsMustUseBraces" />
+  <rule ref="rulesets/logging-java.xml/SystemPrintln" />
+  <rule ref="rulesets/strings.xml/UselessStringValueOf" />
+  <rule ref="rulesets/strings.xml/AvoidDuplicateLiterals" />
+</ruleset>
index 9b77dbe7152c750101275b426cb6a061fcdc92b4..64ebfa7719ecff4cb1d9ba283b7bd2729902e35a 100644 (file)
@@ -1,6 +1,6 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<ruleset xmlns="http://pmd.sf.net/ruleset/1.0.0" xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd" xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd" name="Sonar rules set" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
-  <description>Generated by Sonar</description>\r
-  <rule ref="rulesets/sunsecure.xml/MethodReturnsInternalArray" />\r
-  <rule ref="rulesets/sunsecure.xml/ArrayIsStoredDirectly" />\r
-</ruleset>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<ruleset xmlns="http://pmd.sf.net/ruleset/1.0.0" xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd" xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd" name="Sonar rules set" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <description>Generated by Sonar</description>
+  <rule ref="rulesets/sunsecure.xml/MethodReturnsInternalArray" />
+  <rule ref="rulesets/sunsecure.xml/ArrayIsStoredDirectly" />
+</ruleset>
index 938bcf1a7332970fada527c39321c0717fdff756..eadf08b31d471773cf2a22cf188454704d722888 100644 (file)
@@ -39,4 +39,4 @@
     <priority>MINOR</priority>
     <configKey><![CDATA[rulesets/junit.xml/SimplifyBooleanAssertion]]></configKey>
   </rule>
-</rules>
\ No newline at end of file
+</rules>