aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2012-08-08 22:13:18 +0600
committerEvgeny Mandrikov <mandrikov@gmail.com>2012-08-08 22:13:18 +0600
commit12c677fd3e3f43f8712374d071c777889de7a138 (patch)
tree7b77b569ca6da0ff6751c1a2d1a15bf957866397
parent9e132db2b6f8ca994195581d2c6161d5a0dc9984 (diff)
downloadsonarqube-12c677fd3e3f43f8712374d071c777889de7a138.tar.gz
sonarqube-12c677fd3e3f43f8712374d071c777889de7a138.zip
Fix EOLs
-rw-r--r--plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/pmd-plugin.properties2
-rw-r--r--plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/profile-sonar-way.xml194
-rw-r--r--plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/profile-sun-conventions.xml12
-rw-r--r--plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/rules-unit-tests.xml2
4 files changed, 105 insertions, 105 deletions
diff --git a/plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/pmd-plugin.properties b/plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/pmd-plugin.properties
index 6bac3e054a0..c9f11c295c9 100644
--- a/plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/pmd-plugin.properties
+++ b/plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/pmd-plugin.properties
@@ -1 +1 @@
-pmd.version=${pmd.version} \ No newline at end of file
+pmd.version=${pmd.version}
diff --git a/plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/profile-sonar-way.xml b/plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/profile-sonar-way.xml
index f1a9e8dc86d..4492c675e54 100644
--- a/plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/profile-sonar-way.xml
+++ b/plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/profile-sonar-way.xml
@@ -1,97 +1,97 @@
-<?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>
+<?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>
diff --git a/plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/profile-sun-conventions.xml b/plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/profile-sun-conventions.xml
index 9b77dbe7152..64ebfa7719e 100644
--- a/plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/profile-sun-conventions.xml
+++ b/plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/profile-sun-conventions.xml
@@ -1,6 +1,6 @@
-<?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>
+<?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>
diff --git a/plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/rules-unit-tests.xml b/plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/rules-unit-tests.xml
index 938bcf1a733..eadf08b31d4 100644
--- a/plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/rules-unit-tests.xml
+++ b/plugins/sonar-pmd-plugin/src/main/resources/org/sonar/plugins/pmd/rules-unit-tests.xml
@@ -39,4 +39,4 @@
<priority>MINOR</priority>
<configKey><![CDATA[rulesets/junit.xml/SimplifyBooleanAssertion]]></configKey>
</rule>
-</rules> \ No newline at end of file
+</rules>