From 9271833ba04c80d9d4253f4a8abaf9541ee66d5d Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sun, 11 Dec 2016 21:17:34 +0000 Subject: [PATCH] Revert "Add pmd file" This reverts commit 145eed15c09d4cf65963d73aec9cc2c9726cdaae. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773718 13f79535-47bb-0310-9956-ffa450edef68 --- .pmd | 957 ----------------------------------------------------------- 1 file changed, 957 deletions(-) delete mode 100644 .pmd diff --git a/.pmd b/.pmd deleted file mode 100644 index 0a9e99c37..000000000 --- a/.pmd +++ /dev/null @@ -1,957 +0,0 @@ - - - false - .ruleset - - - AvoidDecimalLiteralsInBigDecimalConstructor - Basic Rules - - - AvoidMultipleUnaryOperators - Basic Rules - - - AvoidThreadGroup - Basic Rules - - - AvoidUsingHardCodedIP - Basic Rules - - - AvoidUsingOctalValues - Basic Rules - - - BigIntegerInstantiation - Basic Rules - - - BooleanInstantiation - Basic Rules - - - BrokenNullCheck - Basic Rules - - - CheckResultSet - Basic Rules - - - ClassCastExceptionWithToArray - Basic Rules - - - CollapsibleIfStatements - Basic Rules - - - DoubleCheckedLocking - Basic Rules - - - EmptyCatchBlock - Basic Rules - - - EmptyFinallyBlock - Basic Rules - - - EmptyIfStmt - Basic Rules - - - EmptyInitializer - Basic Rules - - - EmptyStatementNotInLoop - Basic Rules - - - EmptyStaticInitializer - Basic Rules - - - EmptySwitchStatements - Basic Rules - - - EmptySynchronizedBlock - Basic Rules - - - EmptyTryBlock - Basic Rules - - - EmptyWhileStmt - Basic Rules - - - ForLoopShouldBeWhileLoop - Basic Rules - - - JumbledIncrementer - Basic Rules - - - MisplacedNullCheck - Basic Rules - - - OverrideBothEqualsAndHashcode - Basic Rules - - - ReturnFromFinallyBlock - Basic Rules - - - UnconditionalIfStatement - Basic Rules - - - UnnecessaryConversionTemporary - Basic Rules - - - UnnecessaryFinalModifier - Basic Rules - - - UnnecessaryReturn - Basic Rules - - - UnusedNullCheckInEquals - Basic Rules - - - UselessOperationOnImmutable - Basic Rules - - - UselessOverridingMethod - Basic Rules - - - ForLoopsMustUseBraces - Braces Rules - - - IfElseStmtsMustUseBraces - Braces Rules - - - IfStmtsMustUseBraces - Braces Rules - - - WhileLoopsMustUseBraces - Braces Rules - - - CloneMethodMustImplementCloneable - Clone Implementation Rules - - - CloneThrowsCloneNotSupportedException - Clone Implementation Rules - - - ProperCloneImplementation - Clone Implementation Rules - - - CyclomaticComplexity - Code Size Rules - - - ExcessiveClassLength - Code Size Rules - - - ExcessiveMethodLength - Code Size Rules - - - ExcessiveParameterList - Code Size Rules - - - ExcessivePublicCount - Code Size Rules - - - NcssConstructorCount - Code Size Rules - - - NcssMethodCount - Code Size Rules - - - NcssTypeCount - Code Size Rules - - - NPathComplexity - Code Size Rules - - - TooManyFields - Code Size Rules - - - TooManyMethods - Code Size Rules - - - AssignmentInOperand - Controversial Rules - - - AtLeastOneConstructor - Controversial Rules - - - AvoidAccessibilityAlteration - Controversial Rules - - - AvoidFinalLocalVariable - Controversial Rules - - - AvoidUsingNativeCode - Controversial Rules - - - AvoidUsingShortType - Controversial Rules - - - AvoidUsingVolatile - Controversial Rules - - - BooleanInversion - Controversial Rules - - - CallSuperInConstructor - Controversial Rules - - - DataflowAnomalyAnalysis - Controversial Rules - - - DefaultPackage - Controversial Rules - - - DoNotCallGarbageCollectionExplicitly - Controversial Rules - - - DontImportSun - Controversial Rules - - - NullAssignment - Controversial Rules - - - OnlyOneReturn - Controversial Rules - - - SuspiciousOctalEscape - Controversial Rules - - - UnnecessaryConstructor - Controversial Rules - - - UnnecessaryParentheses - Controversial Rules - - - UnusedModifier - Controversial Rules - - - CouplingBetweenObjects - Coupling Rules - - - ExcessiveImports - Coupling Rules - - - LooseCoupling - Coupling Rules - - - AbstractClassWithoutAbstractMethod - Design Rules - - - AbstractClassWithoutAnyMethod - Design Rules - - - AccessorClassGeneration - Design Rules - - - AssignmentToNonFinalStatic - Design Rules - - - AvoidConstantsInterface - Design Rules - - - AvoidDeeplyNestedIfStmts - Design Rules - - - AvoidInstanceofChecksInCatchClause - Design Rules - - - AvoidProtectedFieldInFinalClass - Design Rules - - - AvoidReassigningParameters - Design Rules - - - AvoidSynchronizedAtMethodLevel - Design Rules - - - BadComparison - Design Rules - - - ClassWithOnlyPrivateConstructorsShouldBeFinal - Design Rules - - - CloseResource - Design Rules - - - CompareObjectsWithEquals - Design Rules - - - ConfusingTernary - Design Rules - - - ConstructorCallsOverridableMethod - Design Rules - - - DefaultLabelNotLastInSwitchStmt - Design Rules - - - EmptyMethodInAbstractClassShouldBeAbstract - Design Rules - - - EqualsNull - Design Rules - - - FinalFieldCouldBeStatic - Design Rules - - - IdempotentOperations - Design Rules - - - ImmutableField - Design Rules - - - InstantiationToGetClass - Design Rules - - - MissingBreakInSwitch - Design Rules - - - MissingStaticMethodInNonInstantiatableClass - Design Rules - - - NonCaseLabelInSwitchStatement - Design Rules - - - NonStaticInitializer - Design Rules - - - NonThreadSafeSingleton - Design Rules - - - OptimizableToArrayCall - Design Rules - - - PositionLiteralsFirstInComparisons - Design Rules - - - PreserveStackTrace - Design Rules - - - ReturnEmptyArrayRatherThanNull - Design Rules - - - SimpleDateFormatNeedsLocale - Design Rules - - - SimplifyBooleanExpressions - Design Rules - - - SimplifyBooleanReturns - Design Rules - - - SimplifyConditional - Design Rules - - - SingularField - Design Rules - - - SwitchDensity - Design Rules - - - SwitchStmtsShouldHaveDefault - Design Rules - - - TooFewBranchesForASwitchStatement - Design Rules - - - UncommentedEmptyConstructor - Design Rules - - - UncommentedEmptyMethod - Design Rules - - - UnnecessaryLocalBeforeReturn - Design Rules - - - UnsynchronizedStaticDateFormatter - Design Rules - - - UseCollectionIsEmpty - Design Rules - - - UseLocaleWithCaseConversions - Design Rules - - - UseNotifyAllInsteadOfNotify - Design Rules - - - UseSingleton - Design Rules - - - AvoidCallingFinalize - Finalizer Rules - - - EmptyFinalizer - Finalizer Rules - - - FinalizeDoesNotCallSuperFinalize - Finalizer Rules - - - FinalizeOnlyCallsSuperFinalize - Finalizer Rules - - - FinalizeOverloaded - Finalizer Rules - - - FinalizeShouldBeProtected - Finalizer Rules - - - DontImportJavaLang - Import Statement Rules - - - DuplicateImports - Import Statement Rules - - - ImportFromSamePackage - Import Statement Rules - - - TooManyStaticImports - Import Statement Rules - - - UnusedImports - Import Statement Rules - - - DoNotCallSystemExit - J2EE Rules - - - DoNotUseThreads - J2EE Rules - - - LocalHomeNamingConvention - J2EE Rules - - - LocalInterfaceSessionNamingConvention - J2EE Rules - - - MDBAndSessionBeanNamingConvention - J2EE Rules - - - RemoteInterfaceNamingConvention - J2EE Rules - - - RemoteSessionInterfaceNamingConvention - J2EE Rules - - - StaticEJBFieldShouldBeFinal - J2EE Rules - - - UseProperClassLoader - J2EE Rules - - - ProperLogger - Jakarta Commons Logging Rules - - - UseCorrectExceptionLogging - Jakarta Commons Logging Rules - - - AvoidPrintStackTrace - Java Logging Rules - - - LoggerIsNotStaticFinal - Java Logging Rules - - - MoreThanOneLogger - Java Logging Rules - - - SystemPrintln - Java Logging Rules - - - BeanMembersShouldSerialize - JavaBean Rules - - - MissingSerialVersionUID - JavaBean Rules - - - JUnitAssertionsShouldIncludeMessage - JUnit Rules - - - JUnitSpelling - JUnit Rules - - - JUnitStaticSuite - JUnit Rules - - - JUnitTestsShouldIncludeAssert - JUnit Rules - - - SimplifyBooleanAssertion - JUnit Rules - - - TestClassWithoutTestCases - JUnit Rules - - - UnnecessaryBooleanAssertion - JUnit Rules - - - UseAssertEqualsInsteadOfAssertTrue - JUnit Rules - - - UseAssertNullInsteadOfAssertTrue - JUnit Rules - - - UseAssertSameInsteadOfAssertTrue - JUnit Rules - - - AvoidAssertAsIdentifier - Migration Rules - - - AvoidEnumAsIdentifier - Migration Rules - - - ByteInstantiation - Migration Rules - - - IntegerInstantiation - Migration Rules - - - JUnit4SuitesShouldUseSuiteAnnotation - Migration Rules - - - JUnit4TestShouldUseAfterAnnotation - Migration Rules - - - JUnit4TestShouldUseBeforeAnnotation - Migration Rules - - - JUnit4TestShouldUseTestAnnotation - Migration Rules - - - JUnitUseExpected - Migration Rules - - - LongInstantiation - Migration Rules - - - ReplaceEnumerationWithIterator - Migration Rules - - - ReplaceHashtableWithMap - Migration Rules - - - ReplaceVectorWithList - Migration Rules - - - ShortInstantiation - Migration Rules - - - AbstractNaming - Naming Rules - - - AvoidDollarSigns - Naming Rules - - - AvoidFieldNameMatchingMethodName - Naming Rules - - - AvoidFieldNameMatchingTypeName - Naming Rules - - - BooleanGetMethodName - Naming Rules - - - ClassNamingConventions - Naming Rules - - - LongVariable - Naming Rules - - - MethodNamingConventions - Naming Rules - - - MethodWithSameNameAsEnclosingClass - Naming Rules - - - MisleadingVariableName - Naming Rules - - - NoPackage - Naming Rules - - - PackageCase - Naming Rules - - - ShortMethodName - Naming Rules - - - ShortVariable - Naming Rules - - - SuspiciousConstantFieldName - Naming Rules - - - SuspiciousEqualsMethodName - Naming Rules - - - SuspiciousHashcodeMethodName - Naming Rules - - - VariableNamingConventions - Naming Rules - - - AddEmptyString - Optimization Rules - - - AvoidArrayLoops - Optimization Rules - - - AvoidInstantiatingObjectsInLoops - Optimization Rules - - - LocalVariableCouldBeFinal - Optimization Rules - - - MethodArgumentCouldBeFinal - Optimization Rules - - - SimplifyStartsWith - Optimization Rules - - - UnnecessaryWrapperObjectCreation - Optimization Rules - - - UseArrayListInsteadOfVector - Optimization Rules - - - UseArraysAsList - Optimization Rules - - - UseStringBufferForStringAppends - Optimization Rules - - - ArrayIsStoredDirectly - Security Code Guidelines - - - MethodReturnsInternalArray - Security Code Guidelines - - - AvoidCatchingNPE - Strict Exception Rules - - - AvoidCatchingThrowable - Strict Exception Rules - - - AvoidRethrowingException - Strict Exception Rules - - - AvoidThrowingNewInstanceOfSameException - Strict Exception Rules - - - AvoidThrowingNullPointerException - Strict Exception Rules - - - AvoidThrowingRawExceptionTypes - Strict Exception Rules - - - DoNotExtendJavaLangError - Strict Exception Rules - - - DoNotThrowExceptionInFinally - Strict Exception Rules - - - ExceptionAsFlowControl - Strict Exception Rules - - - SignatureDeclareThrowsException - Strict Exception Rules - - - AppendCharacterWithChar - String and StringBuffer Rules - - - AvoidDuplicateLiterals - String and StringBuffer Rules - - - AvoidStringBufferField - String and StringBuffer Rules - - - ConsecutiveLiteralAppends - String and StringBuffer Rules - - - InefficientEmptyStringCheck - String and StringBuffer Rules - - - InefficientStringBuffering - String and StringBuffer Rules - - - InsufficientStringBufferDeclaration - String and StringBuffer Rules - - - StringBufferInstantiationWithChar - String and StringBuffer Rules - - - StringInstantiation - String and StringBuffer Rules - - - StringToString - String and StringBuffer Rules - - - UnnecessaryCaseChange - String and StringBuffer Rules - - - UseEqualsToCompareStrings - String and StringBuffer Rules - - - UseIndexOfChar - String and StringBuffer Rules - - - UselessStringValueOf - String and StringBuffer Rules - - - UseStringBufferLength - String and StringBuffer Rules - - - CloneMethodMustImplementCloneable - Type Resolution Rules - - - LooseCoupling - Type Resolution Rules - - - SignatureDeclareThrowsException - Type Resolution Rules - - - UnusedImports - Type Resolution Rules - - - UnusedFormalParameter - Unused Code Rules - - - UnusedLocalVariable - Unused Code Rules - - - UnusedPrivateField - Unused Code Rules - - - UnusedPrivateMethod - Unused Code Rules - - - false - true -