]> source.dussan.org Git - sonarqube.git/commitdiff
Fix compilation issue in Eclipse
authorJulien HENRY <henryju@yahoo.fr>
Tue, 5 Jul 2016 15:47:28 +0000 (17:47 +0200)
committerJulien HENRY <henryju@yahoo.fr>
Wed, 6 Jul 2016 07:32:40 +0000 (09:32 +0200)
sonar-scanner-engine/src/test/java/org/sonar/scanner/rule/DefaultRulesLoaderTest.java
sonar-scanner-engine/src/test/resources/org/sonar/scanner/rule/DefaultRulesLoader/response.protobuf [deleted file]
sonar-scanner-engine/src/test/resources/org/sonar/scanner/rule/DefaultRulesLoaderTest/response.protobuf [new file with mode: 0644]

index 93b88fada894ac6778a8e21b38fb011afc8d0ed2..e289211e79f0bedd6881171505e6d52000179f93 100644 (file)
  */
 package org.sonar.scanner.rule;
 
-import static org.mockito.Mockito.mock;
-import org.junit.rules.ExpectedException;
-import org.sonar.scanner.WsTestUtil;
-import org.sonar.scanner.bootstrap.BatchWsClient;
-import org.sonar.scanner.rule.DefaultRulesLoader;
-import org.sonarqube.ws.Rules.ListResponse.Rule;
 import com.google.common.io.ByteSource;
 import com.google.common.io.Resources;
-
 import java.io.IOException;
 import java.io.InputStream;
 import java.util.List;
+import org.junit.Test;
+import org.junit.rules.ExpectedException;
+import org.sonar.scanner.WsTestUtil;
+import org.sonar.scanner.bootstrap.BatchWsClient;
+import org.sonarqube.ws.Rules.ListResponse.Rule;
 
 import static org.assertj.core.api.Assertions.assertThat;
-import org.junit.Test;
+import static org.mockito.Mockito.mock;
 
 public class DefaultRulesLoaderTest {
   @org.junit.Rule
@@ -42,7 +40,7 @@ public class DefaultRulesLoaderTest {
   @Test
   public void testParseServerResponse() throws IOException {
     BatchWsClient wsClient = mock(BatchWsClient.class);
-    InputStream is = Resources.asByteSource(this.getClass().getResource("DefaultRulesLoader/response.protobuf")).openBufferedStream();
+    InputStream is = Resources.asByteSource(this.getClass().getResource("DefaultRulesLoaderTest/response.protobuf")).openBufferedStream();
     WsTestUtil.mockStream(wsClient, is);
     DefaultRulesLoader loader = new DefaultRulesLoader(wsClient);
     List<Rule> ruleList = loader.load();
diff --git a/sonar-scanner-engine/src/test/resources/org/sonar/scanner/rule/DefaultRulesLoader/response.protobuf b/sonar-scanner-engine/src/test/resources/org/sonar/scanner/rule/DefaultRulesLoader/response.protobuf
deleted file mode 100644 (file)
index 3c24dd8..0000000
+++ /dev/null
@@ -1,637 +0,0 @@
-
-i
-\vcommon-java\12\1aInsufficientCommentDensity">Source files should have a sufficient density of comment lines
-S
-\vcommon-java\12\10DuplicatedBlocks"2Source files should not have any duplicated blocks
-U
-\vcommon-java\12\10SkippedUnitTests"4Skipped unit tests should be either removed or fixed
-\
-\vcommon-java\12\18InsufficientLineCoverage"3Lines should have sufficient coverage by unit tests
-A
-\vcommon-java\12\ fFailedUnitTests"!Failed unit tests should be fixed
-a
-\vcommon-java\12\1aInsufficientBranchCoverage"6Branches should have sufficient coverage by unit tests
-\93\ 1
-\ 5squid\12\17UselessParenthesesCheck\1a\17UselessParenthesesCheck"XUseless parentheses around expressions should be removed to prevent any misunderstanding
-Z
-\ 5squid\12\ 5S2134\1a\ 5S2134"CClasses extending java.lang.Thread should override the "run" method
-;
-\ 5squid\12\ 4S138\1a\ 4S138"&Methods should not have too many lines
-G
-\ 5squid\12\ 5S2133\1a\ 5S2133"0Objects should not be created only to "getClass"
-M
-\ 5squid\12\ 5S1294\1a\ 5S1294"6The Array.equals(Object obj) method should not be used
-R
-\ 5squid\12\ 5S2131\1a\ 5S2131";Primitives should not be boxed just for "String" conversion
-`
-\ 5squid\12\ 4S135\1a\ 4S135"KLoops should not contain more than a single "break" or "continue" statement
-<
-\ 5squid\12\ 5S1150\1a\ 5S1150"%Enumeration should not be implemented
-K
-\ 5squid\12\ 5S1151\1a\ 5S1151"4"switch case" clauses should not have too many lines
-M
-\ 5squid\12\ 5S1939\1a\ 5S1939"6Extensions and implementations should not be redundant
-E
-\ 5squid\12\ 5S2039\1a\ 5S2039".Member variable visibility should be specified
-L
-\ 5squid\12\aNoSonar\1a\aNoSonar"1"NOSONAR" should not be used to switch off issues
->
-\ 5squid\12\ 5S2232\1a\ 5S2232"'"ResultSet.isLast()" should not be used
-f
-\ 5squid\12\ 5S1943\1a\ 5S1943"OClasses and methods that rely on the default system encoding should not be used
-m
-\ 5squid\12\ 5S1158\1a\ 5S1158"VPrimitive wrappers should not be instantiated only for "toString" or "compareTo" calls
-H
-\ 5squid\12\ 5S2230\1a\ 5S2230"1Non-public methods should not be "@Transactional"
-t
-\ 5squid\12\ 5S1157\1a\ 5S1157"]Case insensitive string comparisons should be made without intermediate upper or lower casing
-P
-\ 5squid\12\ 5S1155\1a\ 5S1155"9Collection.isEmpty() should be used to test for emptiness
-s
-\ 5squid\12\ 5S2236\1a\ 5S2236"\Methods "wait(...)", "notify()" and "notifyAll()" should never be called on Thread instances
-b
-\ 5squid\12\ 5S1948\1a\ 5S1948"KFields in a "Serializable" class should either be transient or serializable
-J
-\ 5squid\12\ 5S1153\1a\ 5S1153"3String.valueOf() should not be appended to a String
-H
-\ 5squid\12\ 5S2235\1a\ 5S2235"1IllegalMonitorStateException should not be caught
-b
-\ 5squid\12\ 5S1764\1a\ 5S1764"KIdentical expressions should not be used on both sides of a binary operator
-P
-\ 5squid\12\ 5S2130\1a\ 5S2130"9Parsing should be used to convert "Strings" to primitives
-s
-\ 5squid\12\ fUndocumentedApi\1a\ fUndocumentedApi"HPublic types, methods and fields (API) should be documented with Javadoc
-=
-\ 5squid\12\ 5S2333\1a\ 5S2333"&Redundant modifiers should not be used
-o
-\ 5squid\12\14TrailingCommentCheck\1a\14TrailingCommentCheck":Comments should not be located at the end of lines of code
-m
-\ 5squid\12\17MaximumInheritanceDepth\1a\17MaximumInheritanceDepth"2Inheritance tree of classes should not be too deep
-<
-\ 5squid\12\ 5S1940\1a\ 5S1940"%Boolean checks should not be inverted
-L
-\ 5squid\12\ 5S1699\1a\ 5S1699"5Constructors should only call non-overridable methods
-T
-\ 5squid\12\ 4S128\1a\ 4S128"?Switch cases should end with an unconditional "break" statement
-M
-\ 5squid\12\ 5S2127\1a\ 5S2127"6"Double.longBitsToDouble" should not be used for "int"
-X
-\ 5squid\12\16CallToDeprecatedMethod\1a\16CallToDeprecatedMethod"\1fAvoid use of deprecated methods
-]
-\ 5squid\12\ 4S888\1a\ 4S888"HRelational operators should be used in "for" loop termination conditions
-A
-\ 5squid\12\ 5S2123\1a\ 5S2123"*Values should not be uselessly incremented
-S
-\ 5squid\12\ 5S2122\1a\ 5S2122"<"ScheduledThreadPoolExecutor" should not have 0 core threads
-P
-\ 5squid\12\ 5S1160\1a\ 5S1160"9Public methods should throw at most one checked exception
-\8f\ 1
-\ 5squid\12\ 5S1161\1a\ 5S1161"x"@Override" annotation should be used on any method overriding (since Java 5) or implementing (since Java 6) another one
-W
-\ 5squid\12\ 5S1694\1a\ 5S1694"@An abstract class should have both abstract and concrete methods
-=
-\ 5squid\12\ 5S1162\1a\ 5S1162"&Checked Exception should not be thrown
-K
-\ 5squid\12\ 6S00101\1a\ 6S00101"2Class names should comply with a naming convention
-M
-\ 5squid\12\ 5S1695\1a\ 5S1695"6"NullPointerException" should not be explicitly thrown
-L
-\ 5squid\12\ 6S00100\1a\ 6S00100"3Method names should comply with a naming convention
-B
-\ 5squid\12\ 5S1696\1a\ 5S1696"+"NullPointerException" should not be caught
-n
-\ 5squid\12\ 5S1697\1a\ 5S1697"WShort-circuit logic should be used to prevent null pointer dereferences in conditionals
-A
-\ 5squid\12\ 5S1698\1a\ 5S1698"*Objects should be compared with "equals()"
-V
-\ 5squid\12\ 5S1168\1a\ 5S1168"?Empty arrays and collections should be returned instead of null
-r
-\ 5squid\12\1dStringEqualityComparisonCheck\1a\1dStringEqualityComparisonCheck"+Strings should be compared using "equals()"
-/
-\ 5squid\12\ 5S2222\1a\ 5S2222"\18Locks should be released
-[
-\ 5squid\12\10HiddenFieldCheck\1a\10HiddenFieldCheck".Local variables should not shadow class fields
-?
-\ 5squid\12\ 5S2326\1a\ 5S2326"(Unused type parameters should be removed
-H
-\ 5squid\12\ 5S1163\1a\ 5S1163"1Exceptions should not be thrown in finally blocks
-P
-\ 5squid\12\ 5S2225\1a\ 5S2225"9"toString()" and "clone()" methods should not return null
-P
-\ 5squid\12\ 5S1166\1a\ 5S1166"9Exception handlers should preserve the original exception
-<
-\ 5squid\12\ 5S1165\1a\ 5S1165"%Exception classes should be immutable
-I
-\ 5squid\12\ 5S2226\1a\ 5S2226"2Servlets should never have mutable instance fields
-S
-\ 5squid\12\17ArchitecturalConstraint\1a\17ArchitecturalConstraint"\18Architectural constraint
-u
-\ 5squid\12\ 4S134\1a\ 4S134"`Control flow statements "if", "for", "while", "switch" and "try" should not be nested too deeply
-[
-\ 5squid\12\ 5S2325\1a\ 5S2325"D"private" methods that don't access instance data should be "static"
-J
-\ 5squid\12\ 5S2156\1a\ 5S2156"3"final" classes should not have "protected" members
-z
-\ 5squid\12\ 5S2154\1a\ 5S2154"cDissimilar primitive wrappers should not be used with the ternary operator without explicit casting
-M
-\ 5squid\12\ 5S2153\1a\ 5S2153"6Boxing and unboxing should not be immediately reversed
-?
-\ 5squid\12\ 5S2159\1a\ 5S2159"(Silly equality checks should not be made
-<
-\ 5squid\12\ 5S2157\1a\ 5S2157"%"Cloneables" should implement "clone"
-A
-\ 5squid\12\ 5S1172\1a\ 5S1172"*Unused method parameters should be removed
-R
-\ 5squid\12\ 5S1479\1a\ 5S1479";"switch" statements should not have too many "case" clauses
-\81\ 1
-\ 5squid\12\ 5S1170\1a\ 5S1170"jPublic constants and fields initialized at declaration should be "static final" rather than merely "final"
-D
-\ 5squid\12\ 5S1171\1a\ 5S1171"-Only static class initializers should be used
-]
-\ 5squid\12\ 5S1175\1a\ 5S1175"FThe signature of "finalize()" should match that of "Object.finalize()"
-b
-\ 5squid\12\ 5S1174\1a\ 5S1174"K"Object.finalize()" should remain protected (versus public) when overriding
-A
-\ 5squid\12\ 5S2151\1a\ 5S2151"*"runFinalizersOnExit" should not be called
-f
-\ 5squid\12\1cCallToFileDeleteOnExitMethod\1a\1cCallToFileDeleteOnExitMethod"!"deleteOnExit" should not be used
-Z
-\ 5squid\12\1aLabelsShouldNotBeUsedCheck\1a\1aLabelsShouldNotBeUsedCheck"\19Labels should not be used
-e
-\ 5squid\12\ 5S1488\1a\ 5S1488"NLocal Variables should not be declared and then immediately returned or thrown
-Z
-\ 5squid\12\ 5S3008\1a\ 5S3008"CStatic non-final field names should comply with a naming convention
-{
-\ 5squid\12\1cSwitchLastCaseIsDefaultCheck\1a\1cSwitchLastCaseIsDefaultCheck"6"switch" statements should end with a "default" clause
\ 1
-\ 5squid\12,RightCurlyBraceDifferentLineAsNextBlockCheck\1a,RightCurlyBraceDifferentLineAsNextBlockCheck"fClose curly brace and the next "else", "catch" and "finally" keywords should be on two different lines
-d
-\ 5squid\12\13ModifiersOrderCheck\1a\13ModifiersOrderCheck"1Modifiers should be declared in the correct order
-?
-\ 5squid\12\ 5S1181\1a\ 5S1181"(Throwable and Error should not be caught
-9
-\ 5squid\12\ 5S1905\1a\ 5S1905""Redundant casts should not be used
-c
-\ 5squid\12\ 5S1182\1a\ 5S1182"LClasses that override "clone" should be "Cloneable" and call "super.clone()"
-j
-\ 5squid\12\ 5S2201\1a\ 5S2201"SReturn values should not be ignored when function calls don't have any side effects
-2
-\ 5squid\12\ 5S1186\1a\ 5S1186"\eMethods should not be empty
-=
-\ 5squid\12\ 5S1872\1a\ 5S1872"&Classes should not be compared by name
-R
-\ 5squid\12\ 5S2438\1a\ 5S2438";"Threads" should not be used where "Runnables" are expected
-u
-\ 5squid\12\ 5S1871\1a\ 5S1871"^Two branches in the same conditional structure should not have exactly the same implementation
-l
-\ 5squid\12\ 5S1185\1a\ 5S1185"UOverriding methods should do more than simply call the same method in the super class
-S
-\ 5squid\12\ 5S1188\1a\ 5S1188"<Lambdas and anonymous classes should not have too many lines
-@
-\ 5squid\12\ 5S1873\1a\ 5S1873")"static final" arrays should be "private"
-\
-\ 5squid\12\ 5S2204\1a\ 5S2204"E".equals()" should not be used to test the values of "Atomic" classes
-C
-\ 5squid\12\ 5S2437\1a\ 5S2437",Silly bit operations should not be performed
-T
-\ 5squid\12\ 5S2200\1a\ 5S2200"="compareTo" results should not be checked for specific values
-R
-\ 5squid\12\12UselessImportCheck\1a\12UselessImportCheck"!Useless imports should be removed
-E
-\ 5squid\12\ 5S2209\1a\ 5S2209"."static" members should be accessed statically
-?
-\ 5squid\12\ 5S1481\1a\ 5S1481"(Unused local variables should be removed
-\80\ 1
-\ 5squid\12\16MissingDeprecatedCheck\1a\16MissingDeprecatedCheck"GDeprecated elements should have both the annotation and the Javadoc tag
-:
-\ 5squid\12\ 5S2208\1a\ 5S2208"#Wildcard imports should not be used
->
-\ 5squid\12\ 5S1774\1a\ 5S1774"'The ternary operator should not be used
-V
-\ 5squid\12\ 5S2272\1a\ 5S2272"?"Iterator.next()" methods should throw "NoSuchElementException"
-\89\ 1
-\ 5squid\12\ 5S2273\1a\ 5S2273"r"wait(...)", "notify()" and "notifyAll()" methods should only be called when a lock is obviously held on an object
-a
-\ 5squid\12\18LowerCaseLongSuffixCheck\1a\18LowerCaseLongSuffixCheck"$Long suffix "L" should be upper case
-C
-\ 5squid\12\ 5S2786\1a\ 5S2786",Nested "enum"s should not be declared static
-J
-\ 5squid\12\ 5S1118\1a\ 5S1118"3Utility classes should not have public constructors
-z
-\ 5squid\12\ 5S2277\1a\ 5S2277"cCryptographic RSA algorithms should always incorporate OAEP (Optimal Asymmetric Encryption Padding)
-a
-\ 5squid\12\15UnusedProtectedMethod\1a\15UnusedProtectedMethod"*Unused protected methods should be removed
-d
-\ 5squid\12\ 5S2276\1a\ 5S2276"M"wait(...)" should be used instead of "Thread.sleep(...)" when a lock is held
-d
-\ 5squid\12\ 5S2275\1a\ 5S2275"MPrintf-style format strings should not lead to unexpected behavior at runtime
-k
-\ 5squid\12\ 5S2274\1a\ 5S2274"T"Object.wait(...)" and "Condition.await(...)" should be called inside a "while" loop
-c
-\ 5squid\12\14CommentedOutCodeLine\1a\14CommentedOutCodeLine".Sections of code should not be "commented out"
-^
-\ 5squid\12\ 5S2278\1a\ 5S2278"GNeither DES (Data Encryption Standard) nor DESede (3DES) should be used
-C
-\ 5squid\12\ 5S2912\1a\ 5S2912","indexOf" checks should use a start position
-<
-\ 5squid\12\ 5S1656\1a\ 5S1656"%Variables should not be self-assigned
-Q
-\ 5squid\12\ 5S1659\1a\ 5S1659":Multiple variables should not be declared on the same line
-L
-\ 5squid\12\ 5S1264\1a\ 5S1264"5A "while" loop should be used instead of a "for" loop
-Y
-\ 5squid\12\ 5S1125\1a\ 5S1125"BLiteral boolean values should not be used in condition expressions
-k
-\ 5squid\12\ 5S1126\1a\ 5S1126"TReturn of boolean expressions should not be wrapped into an "if-then-else" statement
-\7f
-\ 5squid\12\1cClassVariableVisibilityCheck\1a\1cClassVariableVisibilityCheck":Class variable fields should not have public accessibility
-H
-\ 5squid\12\ 5S2250\1a\ 5S2250"1"ConcurrentLinkedQueue.size()" should not be used
-M
-\ 5squid\12\ 5S1643\1a\ 5S1643"6Strings should not be concatenated using '+' in a loop
-`
-\ 5squid\12\ 5S2251\1a\ 5S2251"IA "for" loop update clause should move the counter in the right direction
-Z
-\ 5squid\12\ 5S1640\1a\ 5S1640"CMaps with keys that are enum values should be replaced with EnumMap
-E
-\ 5squid\12\ 5S2118\1a\ 5S2118".Non-serializable classes should not be written
-B
-\ 5squid\12\ 6S00112\1a\ 6S00112")Generic exceptions should never be thrown
->
-\ 5squid\12\ 5S2111\1a\ 5S2111"'"BigDecimal(double)" should not be used
-H
-\ 5squid\12\ 5S2112\1a\ 5S2112"1"URL.hashCode" and "URL.equals" should be avoided
-?
-\ 5squid\12\ 5S2110\1a\ 5S2110"(Invalid "Date" values should not be used
-X
-\ 5squid\12\ 5S2116\1a\ 5S2116"A"hashCode" and "toString" should not be called on array instances
-J
-\ 5squid\12\ 5S2391\1a\ 5S2391"3JUnit framework methods should be declared properly
-Y
-\ 5squid\12\ 5S2114\1a\ 5S2114"BCollections should not be passed as arguments to their own methods
-?
-\ 5squid\12\ 5S2259\1a\ 5S2259"(Null pointers should not be dereferenced
-d
-\ 5squid\12\ 5S1132\1a\ 5S1132"MStrings literals should be placed on the left side when checking for equality
-D
-\ 5squid\12\ 6S00107\1a\ 6S00107"+Methods should not have too many parameters
-c
-\ 5squid\12\ 5S2258\1a\ 5S2258"L"javax.crypto.NullCipher" should not be used for anything other than testing
-C
-\ 5squid\12\ 5S1133\1a\ 5S1133",Deprecated code should be removed eventually
-L
-\ 5squid\12\ 5S2257\1a\ 5S2257"5Only standard cryptographic algorithms should be used
-G
-\ 5squid\12\ 6S00108\1a\ 6S00108".Nested blocks of code should not be left empty
-5
-\ 5squid\12\ 6S00103\1a\ 6S00103"\1cLines should not be too long
-V
-\ 5squid\12\ 5S2254\1a\ 5S2254"?"HttpServletRequest.getRequestedSessionId()" should not be used
-<
-\ 5squid\12\ 5S2253\1a\ 5S2253"%Disallowed methods should not be used
-5
-\ 5squid\12\ 5S1134\1a\ 5S1134"\1e"FIXME" tags should be handled
-A
-\ 5squid\12\ 6S00105\1a\ 6S00105"(Tabulation characters should not be used
-C
-\ 5squid\12\ 5S2252\1a\ 5S2252",Loop conditions should be true at least once
-4
-\ 5squid\12\ 5S1135\1a\ 5S1135"\1d"TODO" tags should be handled
-=
-\ 5squid\12\ 6S00104\1a\ 6S00104"$Files should not have too many lines
-?
-\ 5squid\12\ 6S00122\1a\ 6S00122"&Statements should be on separate lines
-M
-\ 5squid\12\ 6S00120\1a\ 6S00120"4Package names should comply with a naming convention
-U
-\ 5squid\12\ 5S2109\1a\ 5S2109">Reflection should not be used to check non-runtime annotations
-J
-\ 5squid\12\ 6S00121\1a\ 6S00121"1Control structures should always use curly braces
-j
-\ 5squid\12\ 5S2676\1a\ 5S2676"SNeither "Math.abs" nor negation should be used on numbers that could be "MIN_VALUE"
-I
-\ 5squid\12\ 5S2677\1a\ 5S2677"2"read" and "readLine" return values should be used
-N
-\ 5squid\12\ 5S2674\1a\ 5S2674"7The value returned from a stream read should be checked
-@
-\ 5squid\12\ 5S2675\1a\ 5S2675")"readObject" should not be "synchronized"
-V
-\ 5squid\12\14CycleBetweenPackages\1a\14CycleBetweenPackages"!Avoid cycle between java packages
-h
-\ 5squid\12\ 5S1149\1a\ 5S1149"QSynchronized classes Vector, Hashtable, Stack and StringBuffer should not be used
-O
-\ 5squid\12\ 5S1244\1a\ 5S1244"8Floating point numbers should not be tested for equality
-P
-\ 5squid\12\ 5S2384\1a\ 5S2384"9Mutable members should not be stored or returned directly
-{
-\ 5squid\12\1aLeftCurlyBraceEndLineCheck\1a\1aLeftCurlyBraceEndLineCheck":An open curly brace should be located at the end of a line
-Q
-\ 5squid\12\ 5S2387\1a\ 5S2387":Child class members should not shadow parent class members
-P
-\ 5squid\12\ 5S2386\1a\ 5S2386"9Interfaces should not have "public static" mutable fields
-U
-\ 5squid\12\ 5S2388\1a\ 5S2388">Inner class calls to super class methods should be unambiguous
-<
-\ 5squid\12\ 5S1141\1a\ 5S1141"%Try-catch blocks should not be nested
-L
-\ 5squid\12\ 5S1142\1a\ 5S1142"5Methods should not contain too many return statements
-T
-\ 5squid\12\ 6S00119\1a\ 6S00119";Type parameter names should comply with a naming convention
-c
-\ 5squid\12\ 5S2245\1a\ 5S2245"LPseudorandom number generators (PRNGs) should not be used in secure contexts
-O
-\ 5squid\12\ 5S1143\1a\ 5S1143"8"return" statements should not occur in "finally" blocks
-T
-\ 5squid\12\ 6S00118\1a\ 6S00118";Abstract class names should comply with a naming convention
-i
-\ 5squid\12\ 6S00117\1a\ 6S00117"PLocal variable and method parameter names should comply with a naming convention
-]
-\ 5squid\12\ 5S1145\1a\ 5S1145"FUseless "if(true) {...}" and "if(false){...}" blocks should be removed
-K
-\ 5squid\12\ 6S00116\1a\ 6S00116"2Field names should comply with a naming convention
-N
-\ 5squid\12\ 6S00115\1a\ 6S00115"5Constant names should comply with a naming convention
-\85\ 1
-\ 5squid\12\1cLeftCurlyBraceStartLineCheck\1a\1cLeftCurlyBraceStartLineCheck"@An open curly brace should be located at the beginning of a line
-8
-\ 5squid\12\ 5S1147\1a\ 5S1147"!Exit methods should not be called
-O
-\ 5squid\12\ 6S00114\1a\ 6S00114"6Interface names should comply with a naming convention
-J
-\ 5squid\12\ 5S1148\1a\ 5S1148"3Throwable.printStackTrace(...) should not be called
-J
-\ 5squid\12\ 6S00113\1a\ 6S00113"1Files should contain an empty new line at the end
-]
-\ 5squid\12\ 5S1215\1a\ 5S1215"FExecution of the Garbage Collector should be triggered only by the JVM
-T
-\ 5squid\12\ 5S1217\1a\ 5S1217"=Thread.run() and Runnable.run() should not be called directly
-A
-\ 5squid\12\ 5S2188\1a\ 5S2188"*JUnit test cases should call super methods
-M
-\ 5squid\12\ 5S1219\1a\ 5S1219"6"switch" statements should not contain non-case labels
-K
-\ 5squid\12\ 5S2186\1a\ 5S2186"4JUnit assertions should not be used in "run" methods
-5
-\ 5squid\12\ 5S2187\1a\ 5S2187"\1eTestCases should contain tests
-i
-\ 5squid\12\ 5S1210\1a\ 5S1210"R"equals(Object obj)" should be overridden along with the "compareTo(T obj)" method
-D
-\ 5squid\12\ 5S1214\1a\ 5S1214"-Constants should not be defined in interfaces
-o
-\ 5squid\12\ 5S1609\1a\ 5S1609"X@FunctionalInterface annotation should be used to flag Single Abstract Method interfaces
-l
-\ 5squid\12\ 5S1213\1a\ 5S1213"UThe members of an interface declaration or class should appear in a pre-defined order
-d
-\ 5squid\12\13ObjectFinalizeCheck\1a\13ObjectFinalizeCheck"1The Object.finalize() method should not be called
-<
-\ 5squid\12\ 5S2089\1a\ 5S2089"%HTTP referers should not be relied on
-s
-\ 5squid\12\ 5S1611\1a\ 5S1611"\Parentheses should be removed from a single lambda input parameter when its type is inferred
-J
-\ 5squid\12\ 5S2681\1a\ 5S2681"3Multiline blocks should be enclosed in curly braces
-K
-\ 5squid\12\ 5S1612\1a\ 5S1612"4Replace lambdas with method references when possible
-9
-\ 5squid\12\ 5S2185\1a\ 5S2185""Silly math should not be performed
-E
-\ 5squid\12\ 5S2184\1a\ 5S2184".Math operands should be cast before assignment
-X
-\ 5squid\12\ 5S1610\1a\ 5S1610"AAbstract classes without fields should be converted to interfaces
-_
-\ 5squid\12\ 5S2183\1a\ 5S2183"HInts and longs should not be shifted by more than their number of bits-1
-8
-\ 5squid\12        EmptyFile\1a      EmptyFile"\19Files should not be empty
-N
-\ 5squid\12\ 5S1228\1a\ 5S1228"7Packages should have a javadoc file 'package-info.java'
-Z
-\ 5squid\12\13UnusedPrivateMethod\1a\13UnusedPrivateMethod"'Unused private method should be removed
-j
-\ 5squid\12\ 5S1226\1a\ 5S1226"SMethod parameters, caught exceptions and foreach variables should not be reassigned
-P
-\ 5squid\12\ 5S2197\1a\ 5S2197"9Modulus results should not be checked for direct equality
-\83\ 1
-\ 5squid\12\1eAssignmentInSubExpressionCheck\1a\1eAssignmentInSubExpressionCheck":Assignments should not be made from within sub-expressions
-H
-\ 5squid\12\ 5S1221\1a\ 5S1221"1Methods should not be named "hashcode" or "equal"
-E
-\ 5squid\12\ 5S1220\1a\ 5S1220".The default unnamed package should not be used
-1
-\ 5squid\12\ 5S2092\1a\ 5S2092"\1aCookies should be "secure"
-2
-\ 5squid\12\ 5S2094\1a\ 5S2094"\eClasses should not be empty
-1
-\ 5squid\12\ 5S2095\1a\ 5S2095"\1aResources should be closed
-9
-\ 5squid\12\ 5S2096\1a\ 5S2096"""main" should not "throw" anything
-c
-\ 5squid\12\ 5S1223\1a\ 5S1223"LNon-constructor methods should not have the same name as the enclosing class
-E
-\ 5squid\12\ 5S2097\1a\ 5S2097"."equals(Object obj)" should test argument type
-K
-\ 5squid\12\ 5S2696\1a\ 5S2696"4Instance methods should not write to "static" fields
-6
-\ 5squid\12\ 5S2699\1a\ 5S2699"\1fTests should include assertions
-?
-\ 5squid\12\ 5S2698\1a\ 5S2698"(JUnit assertions should include messages
-D
-\ 5squid\12\ 5S2693\1a\ 5S2693"-Threads should not be started in constructors
-J
-\ 5squid\12\ 5S2692\1a\ 5S2692"3"indexOf" checks should not be for positive numbers
-f
-\ 5squid\12\ 5S2695\1a\ 5S2695"O"PreparedStatement" and "ResultSet" methods should be called with valid indices
-c
-\ 5squid\12\ 5S2694\1a\ 5S2694"LInner classes which do not reference their owning classes should be "static"
-I
-\ 5squid\12\ 5S2885\1a\ 5S2885"2"Calendars" and "DateFormats" should not be static
-]
-\ 5squid\12\ 5S2166\1a\ 5S2166"FClasses named like "Exception" should extend "Exception" or a subclass
-H
-\ 5squid\12\ 5S2167\1a\ 5S2167"1"compareTo" should not return "Integer.MIN_VALUE"
-=
-\ 5squid\12\ 5S2164\1a\ 5S2164"&Math should not be performed on floats
-A
-\ 5squid\12\ 5S2165\1a\ 5S2165"*"finalize" should not set fields to "null"
-s
-\ 5squid\12\ 5S1994\1a\ 5S1994"\"for" loop incrementers should modify the variable being tested in the loop's stop condition
-x
-\ 5squid\12\1fRedundantThrowsDeclarationCheck\1a\1fRedundantThrowsDeclarationCheck"-Throws declarations should not be superfluous
-S
-\ 5squid\12\ 5S2162\1a\ 5S2162"<"equals" methods should be symmetric and work for subclasses
-J
-\ 5squid\12\ 5S2160\1a\ 5S2160"3Subclasses that add fields should override "equals"
-J
-\ 5squid\12\ 5S2175\1a\ 5S2175"3Inappropriate "Collection" calls should not be made
-o
-\ 5squid\12\1aForLoopCounterChangedCheck\1a\1aForLoopCounterChangedCheck"."for" loop stop conditions should be invariant
-O
-\ 5squid\12\ 5S2176\1a\ 5S2176"8Class names should not shadow interfaces or superclasses
-M
-\ 5squid\12\ 5S2178\1a\ 5S2178"6Short-circuit logic should be used in boolean contexts
-T
-\ 5squid\12\ 5S1700\1a\ 5S1700"=A field should not duplicate the name of its containing class
-Z
-\ 5squid\12\ 5S1206\1a\ 5S1206"C"equals(Object obj)" and "hashCode()" should be overridden in pairs
-K
-\ 5squid\12\ 5S1701\1a\ 5S1701"4Fields and methods should not have conflicting names
-S
-\ 5squid\12\ 5S1201\1a\ 5S1201"<Methods named "equals" should override Object.equals(Object)
-p
-\ 5squid\12\ 5S1200\1a\ 5S1200"YClasses should not be coupled to too many other classes (Single Responsibility Principle)
-`
-\ 5squid\12\19ClassCyclomaticComplexity\1a\19ClassCyclomaticComplexity"!Classes should not be too complex
-f
-\ 5squid\12\ 5S1602\1a\ 5S1602"OLamdbas containing only one statement should not nest this statement in a block
-_
-\ 5squid\12\ 5S1604\1a\ 5S1604"HAnonymous inner classes containing only one method should become lambdas
-J
-\ 5squid\12\ 5S1309\1a\ 5S1309"3The @SuppressWarnings annotation should not be used
-K
-\ 5squid\12\ 5S1607\1a\ 5S1607"4Skipped unit tests should be either removed or fixed
-P
-\ 5squid\12\ 5S1301\1a\ 5S1301"9"switch" statements should have at least 3 "case" clauses
-1
-\ 5squid\12\ 5S2446\1a\ 5S2446"\1a"notifyAll" should be used
-r
-\ 5squid\12\ 5S2445\1a\ 5S2445"[Blocks synchronized on fields should not contain assignments of new objects to those fields
-V
-\ 5squid\12\ 5S2444\1a\ 5S2444"?Lazy initialization of "static" fields should be "synchronized"
-M
-\ 5squid\12\ 5S1858\1a\ 5S1858"6"toString()" should never be called on a String object
-y
-\ 5squid\12\1cObjectFinalizeOverridenCheck\1a\1cObjectFinalizeOverridenCheck"4The Object.finalize() method should not be overriden
-B
-\ 5squid\12\ 5S2442\1a\ 5S2442"+"Lock" objects should not be "synchronized"
-V
-\ 5squid\12\ 5S2441\1a\ 5S2441"?Non-serializable objects should not be stored in "HttpSessions"
-T
-\ 5squid\12\ 5S2440\1a\ 5S2440"=Classes with only "static" methods should not be instantiated
-C
-\ 5squid\12\ 5S1710\1a\ 5S1710",Annotation repetitions should not be wrapped
-]
-\ 5squid\12\ 5S2583\1a\ 5S2583"FConditions should not unconditionally evaluate to "TRUE" or to "FALSE"
-d
-\ 5squid\12\ 5S1850\1a\ 5S1850"M"instanceof" operators that always return "true" or "false" should be removed
-J
-\ 5squid\12\ 5S2447\1a\ 5S2447"3Null should not be returned from a "Boolean" method
-F
-\ 5squid\12\ 5S1310\1a\ 5S1310"/"NOPMD" suppression comments should not be used
-d
-\ 5squid\12\ 4S864\1a\ 4S864"OLimited dependence should be placed on operator precedence rules in expressions
-;
-\ 5squid\12\ 5S1313\1a\ 5S1313"$IP addresses should not be hardcoded
-d
-\ 5squid\12\ 5S1312\1a\ 5S1312"MLoggers should be "private static final" and should share a naming convention
-\9a\ 1
-\ 5squid\12\ 5S1319\1a\ 5S1319"\82\ 1Declarations should use Java collection interfaces such as "List" rather than specific implementation classes such as "LinkedList"
-W
-\ 5squid\12\ 5S1318\1a\ 5S1318"@"object == null" should be used instead of "object.equals(null)"
-U
-\ 5squid\12\ 5S1452\1a\ 5S1452">Generic wildcard types should not be used in return parameters
-F
-\ 5squid\12\ 5S1451\1a\ 5S1451"/Copyright and license headers should be defined
-X
-\ 5squid\12\10IndentationCheck\1a\10IndentationCheck"+Source code should be indented consistently
-_
-\ 5squid\12\ 5S2718\1a\ 5S2718"H"DateUtils.truncate" from Apache Commons Lang library should not be used
-O
-\ 5squid\12\ 5S1315\1a\ 5S1315"8"CHECKSTYLE:OFF" suppression comments should not be used
-6
-\ 5squid\12\ 5S1314\1a\ 5S1314"\1fOctal values should not be used
-e
-\ 5squid\12\ 5S1317\1a\ 5S1317"N"StringBuilder" and "StringBuffer" should not be instantiated with a character
-Y
-\ 5squid\12\ 5S1860\1a\ 5S1860"BSynchronization should not be based on Strings or boxed primitives
-Y
-\ 5squid\12\ 5S1862\1a\ 5S1862"BRelated "if/else if" statements should not have the same condition
-[
-\ 5squid\12\ 5S1724\1a\ 5S1724"DDeprecated classes and interfaces should not be extended/implemented
-z
-\ 5squid\12\ 4S881\1a\ 4S881"eIncrement (++) and decrement (--) operators should not be mixed with other operators in an expression
-8
-\ 5squid\12\fParsingError\1a\fParsingError"\13Java parser failure
-M
-\ 5squid\12\ 5S1598\1a\ 5S1598"6Package declaration should match source file directory
-u
-\ 5squid\12\ 5S2055\1a\ 5S2055"^The non-serializable super class of a "Serializable" class must have a no-argument constructor
-\93\ 1
-\ 5squid\12\ 5S1596\1a\ 5S1596"|Collections.emptyList(), emptyMap() and emptySet() should be used instead of Collections.EMPTY_LIST, EMPTY_MAP and EMPTY_SET
-F
-\ 5squid\12\ 5S2057\1a\ 5S2057"/"Serializable" classes should have a version id
-^
-\ 5squid\12\ 5S2059\1a\ 5S2059"G"Serializable" inner classes of "Serializable" classes should be static
-N
-\ 5squid\12\ 5S2701\1a\ 5S2701"7Literal boolean values should not be used in assertions
-;
-\ 5squid\12\ 5S2063\1a\ 5S2063"$Comparators should be "Serializable"
\ 1
-\ 5squid\12'RightCurlyBraceSameLineAsNextBlockCheck\1a'RightCurlyBraceSameLineAsNextBlockCheck"hClose curly brace and the next "else", "catch" and "finally" keywords should be located on the same line
-V
-\ 5squid\12\ 5S2061\1a\ 5S2061"?Custom serialization method signatures should meet requirements
-C
-\ 5squid\12\ 5S1066\1a\ 5S1066",Collapsible "if" statements should be merged
-<
-\ 5squid\12\ 5S1067\1a\ 5S1067"%Expressions should not be too complex
-_
-\ 5squid\12\18EmptyStatementUsageCheck\1a\18EmptyStatementUsageCheck""Empty statements should be removed
-b
-\ 5squid\12\1aMethodCyclomaticComplexity\1a\1aMethodCyclomaticComplexity"!Methods should not be too complex
-6
-\ 5squid\12\ 5S1065\1a\ 5S1065"\1fUnused labels should be removed
->
-\ 5squid\12\ 5S1068\1a\ 5S1068"'Unused private fields should be removed
-U
-\ 5squid\12\ 5S2976\1a\ 5S2976">"File.createTempFile" should not be used to create a directory
-N
-\ 5squid\12\ 5S2974\1a\ 5S2974"7Classes without "public" constructors should be "final"
-;
-\ 5squid\12\ 5S2068\1a\ 5S2068"$Credentials should not be hard-coded
-4
-\ 5squid\12\ 5S2970\1a\ 5S2970"\1dAssertions should be complete
-S
-\ 5squid\12\ 5S2065\1a\ 5S2065"<Fields in non-serializable classes should not be "transient"
-b
-\ 5squid\12\ 5S2066\1a\ 5S2066"K"Serializable" inner classes of non-serializable classes should be "static"
-U
-\ 5squid\12\ 5S1197\1a\ 5S1197">Array designators "[]" should be on the type, not the variable
-\81\ 1
-\ 5squid\12\ 5S1844\1a\ 5S1844"j"Object.wait(...)" should never be called on objects that implement "java.util.concurrent.locks.Condition"
-<
-\ 5squid\12\ 5S1199\1a\ 5S1199"%Nested code blocks should not be used
-a
-\ 5squid\12\ 5S1848\1a\ 5S1848"JObjects should not be created to be dropped immediately without being used
-K
-\ 5squid\12\ 5S2301\1a\ 5S2301"4Public methods should not contain selector arguments
-M
-\ 5squid\12\ 5S1849\1a\ 5S1849"6"Iterator.hasNext()" should not call "Iterator.next()"
-R
-\ 5squid\12\ 5S2070\1a\ 5S2070";SHA-1 and Message-Digest hash algorithms should not be used
-\87\ 1
-\ 5squid\12\1dRightCurlyBraceStartLineCheck\1a\1dRightCurlyBraceStartLineCheck"@A close curly brace should be located at the beginning of a line
-]
-\ 5squid\12\ 5S2864\1a\ 5S2864"F"entrySet()" should be iterated when both the key and value are needed
-\18
-\ 5squid\12\ 5S1444\1a\ 5S1444"\ 1:
-G
-\ 5squid\12\ 5S1191\1a\ 5S1191"0Classes from "sun.*" packages should not be used
-B
-\ 5squid\12\ 5S1190\1a\ 5S1190"+Future keywords should not be used as names
-^
-\ 5squid\12\ 5S1193\1a\ 5S1193"GException types should not be tested using "instanceof" in catch blocks
-G
-\ 5squid\12\ 5S2076\1a\ 5S2076"0Values passed to OS commands should be sanitized
-H
-\ 5squid\12\ 5S2077\1a\ 5S2077"1Values passed to SQL commands should be sanitized
-5
-\ 5squid\12\ 4S109\1a\ 4S109" Magic numbers should not be used
-?
-\ 5squid\12\ 5S1192\1a\ 5S1192"(String literals should not be duplicated
-P
-\ 5squid\12\ 4S106\1a\ 4S106";Standard ouputs should not be used directly to log anything
-c
-\ 5squid\12\ 5S1195\1a\ 5S1195"LArray designators "[]" should be located after the type in method signatures
-H
-\ 5squid\12\ 5S2078\1a\ 5S2078"1Values passed to LDAP queries should be sanitized
\ 1
-\ 5squid\12.ObjectFinalizeOverridenCallsSuperFinalizeCheck\1a.ObjectFinalizeOverridenCallsSuperFinalizeCheck"Qsuper.finalize() should be called at the end of Object.finalize() implementations
-?
-\ 5squid\12\ 5S1194\1a\ 5S1194"("java.lang.Error" should not be extended
\ No newline at end of file
diff --git a/sonar-scanner-engine/src/test/resources/org/sonar/scanner/rule/DefaultRulesLoaderTest/response.protobuf b/sonar-scanner-engine/src/test/resources/org/sonar/scanner/rule/DefaultRulesLoaderTest/response.protobuf
new file mode 100644 (file)
index 0000000..3c24dd8
--- /dev/null
@@ -0,0 +1,637 @@
+
+i
+\vcommon-java\12\1aInsufficientCommentDensity">Source files should have a sufficient density of comment lines
+S
+\vcommon-java\12\10DuplicatedBlocks"2Source files should not have any duplicated blocks
+U
+\vcommon-java\12\10SkippedUnitTests"4Skipped unit tests should be either removed or fixed
+\
+\vcommon-java\12\18InsufficientLineCoverage"3Lines should have sufficient coverage by unit tests
+A
+\vcommon-java\12\ fFailedUnitTests"!Failed unit tests should be fixed
+a
+\vcommon-java\12\1aInsufficientBranchCoverage"6Branches should have sufficient coverage by unit tests
+\93\ 1
+\ 5squid\12\17UselessParenthesesCheck\1a\17UselessParenthesesCheck"XUseless parentheses around expressions should be removed to prevent any misunderstanding
+Z
+\ 5squid\12\ 5S2134\1a\ 5S2134"CClasses extending java.lang.Thread should override the "run" method
+;
+\ 5squid\12\ 4S138\1a\ 4S138"&Methods should not have too many lines
+G
+\ 5squid\12\ 5S2133\1a\ 5S2133"0Objects should not be created only to "getClass"
+M
+\ 5squid\12\ 5S1294\1a\ 5S1294"6The Array.equals(Object obj) method should not be used
+R
+\ 5squid\12\ 5S2131\1a\ 5S2131";Primitives should not be boxed just for "String" conversion
+`
+\ 5squid\12\ 4S135\1a\ 4S135"KLoops should not contain more than a single "break" or "continue" statement
+<
+\ 5squid\12\ 5S1150\1a\ 5S1150"%Enumeration should not be implemented
+K
+\ 5squid\12\ 5S1151\1a\ 5S1151"4"switch case" clauses should not have too many lines
+M
+\ 5squid\12\ 5S1939\1a\ 5S1939"6Extensions and implementations should not be redundant
+E
+\ 5squid\12\ 5S2039\1a\ 5S2039".Member variable visibility should be specified
+L
+\ 5squid\12\aNoSonar\1a\aNoSonar"1"NOSONAR" should not be used to switch off issues
+>
+\ 5squid\12\ 5S2232\1a\ 5S2232"'"ResultSet.isLast()" should not be used
+f
+\ 5squid\12\ 5S1943\1a\ 5S1943"OClasses and methods that rely on the default system encoding should not be used
+m
+\ 5squid\12\ 5S1158\1a\ 5S1158"VPrimitive wrappers should not be instantiated only for "toString" or "compareTo" calls
+H
+\ 5squid\12\ 5S2230\1a\ 5S2230"1Non-public methods should not be "@Transactional"
+t
+\ 5squid\12\ 5S1157\1a\ 5S1157"]Case insensitive string comparisons should be made without intermediate upper or lower casing
+P
+\ 5squid\12\ 5S1155\1a\ 5S1155"9Collection.isEmpty() should be used to test for emptiness
+s
+\ 5squid\12\ 5S2236\1a\ 5S2236"\Methods "wait(...)", "notify()" and "notifyAll()" should never be called on Thread instances
+b
+\ 5squid\12\ 5S1948\1a\ 5S1948"KFields in a "Serializable" class should either be transient or serializable
+J
+\ 5squid\12\ 5S1153\1a\ 5S1153"3String.valueOf() should not be appended to a String
+H
+\ 5squid\12\ 5S2235\1a\ 5S2235"1IllegalMonitorStateException should not be caught
+b
+\ 5squid\12\ 5S1764\1a\ 5S1764"KIdentical expressions should not be used on both sides of a binary operator
+P
+\ 5squid\12\ 5S2130\1a\ 5S2130"9Parsing should be used to convert "Strings" to primitives
+s
+\ 5squid\12\ fUndocumentedApi\1a\ fUndocumentedApi"HPublic types, methods and fields (API) should be documented with Javadoc
+=
+\ 5squid\12\ 5S2333\1a\ 5S2333"&Redundant modifiers should not be used
+o
+\ 5squid\12\14TrailingCommentCheck\1a\14TrailingCommentCheck":Comments should not be located at the end of lines of code
+m
+\ 5squid\12\17MaximumInheritanceDepth\1a\17MaximumInheritanceDepth"2Inheritance tree of classes should not be too deep
+<
+\ 5squid\12\ 5S1940\1a\ 5S1940"%Boolean checks should not be inverted
+L
+\ 5squid\12\ 5S1699\1a\ 5S1699"5Constructors should only call non-overridable methods
+T
+\ 5squid\12\ 4S128\1a\ 4S128"?Switch cases should end with an unconditional "break" statement
+M
+\ 5squid\12\ 5S2127\1a\ 5S2127"6"Double.longBitsToDouble" should not be used for "int"
+X
+\ 5squid\12\16CallToDeprecatedMethod\1a\16CallToDeprecatedMethod"\1fAvoid use of deprecated methods
+]
+\ 5squid\12\ 4S888\1a\ 4S888"HRelational operators should be used in "for" loop termination conditions
+A
+\ 5squid\12\ 5S2123\1a\ 5S2123"*Values should not be uselessly incremented
+S
+\ 5squid\12\ 5S2122\1a\ 5S2122"<"ScheduledThreadPoolExecutor" should not have 0 core threads
+P
+\ 5squid\12\ 5S1160\1a\ 5S1160"9Public methods should throw at most one checked exception
+\8f\ 1
+\ 5squid\12\ 5S1161\1a\ 5S1161"x"@Override" annotation should be used on any method overriding (since Java 5) or implementing (since Java 6) another one
+W
+\ 5squid\12\ 5S1694\1a\ 5S1694"@An abstract class should have both abstract and concrete methods
+=
+\ 5squid\12\ 5S1162\1a\ 5S1162"&Checked Exception should not be thrown
+K
+\ 5squid\12\ 6S00101\1a\ 6S00101"2Class names should comply with a naming convention
+M
+\ 5squid\12\ 5S1695\1a\ 5S1695"6"NullPointerException" should not be explicitly thrown
+L
+\ 5squid\12\ 6S00100\1a\ 6S00100"3Method names should comply with a naming convention
+B
+\ 5squid\12\ 5S1696\1a\ 5S1696"+"NullPointerException" should not be caught
+n
+\ 5squid\12\ 5S1697\1a\ 5S1697"WShort-circuit logic should be used to prevent null pointer dereferences in conditionals
+A
+\ 5squid\12\ 5S1698\1a\ 5S1698"*Objects should be compared with "equals()"
+V
+\ 5squid\12\ 5S1168\1a\ 5S1168"?Empty arrays and collections should be returned instead of null
+r
+\ 5squid\12\1dStringEqualityComparisonCheck\1a\1dStringEqualityComparisonCheck"+Strings should be compared using "equals()"
+/
+\ 5squid\12\ 5S2222\1a\ 5S2222"\18Locks should be released
+[
+\ 5squid\12\10HiddenFieldCheck\1a\10HiddenFieldCheck".Local variables should not shadow class fields
+?
+\ 5squid\12\ 5S2326\1a\ 5S2326"(Unused type parameters should be removed
+H
+\ 5squid\12\ 5S1163\1a\ 5S1163"1Exceptions should not be thrown in finally blocks
+P
+\ 5squid\12\ 5S2225\1a\ 5S2225"9"toString()" and "clone()" methods should not return null
+P
+\ 5squid\12\ 5S1166\1a\ 5S1166"9Exception handlers should preserve the original exception
+<
+\ 5squid\12\ 5S1165\1a\ 5S1165"%Exception classes should be immutable
+I
+\ 5squid\12\ 5S2226\1a\ 5S2226"2Servlets should never have mutable instance fields
+S
+\ 5squid\12\17ArchitecturalConstraint\1a\17ArchitecturalConstraint"\18Architectural constraint
+u
+\ 5squid\12\ 4S134\1a\ 4S134"`Control flow statements "if", "for", "while", "switch" and "try" should not be nested too deeply
+[
+\ 5squid\12\ 5S2325\1a\ 5S2325"D"private" methods that don't access instance data should be "static"
+J
+\ 5squid\12\ 5S2156\1a\ 5S2156"3"final" classes should not have "protected" members
+z
+\ 5squid\12\ 5S2154\1a\ 5S2154"cDissimilar primitive wrappers should not be used with the ternary operator without explicit casting
+M
+\ 5squid\12\ 5S2153\1a\ 5S2153"6Boxing and unboxing should not be immediately reversed
+?
+\ 5squid\12\ 5S2159\1a\ 5S2159"(Silly equality checks should not be made
+<
+\ 5squid\12\ 5S2157\1a\ 5S2157"%"Cloneables" should implement "clone"
+A
+\ 5squid\12\ 5S1172\1a\ 5S1172"*Unused method parameters should be removed
+R
+\ 5squid\12\ 5S1479\1a\ 5S1479";"switch" statements should not have too many "case" clauses
+\81\ 1
+\ 5squid\12\ 5S1170\1a\ 5S1170"jPublic constants and fields initialized at declaration should be "static final" rather than merely "final"
+D
+\ 5squid\12\ 5S1171\1a\ 5S1171"-Only static class initializers should be used
+]
+\ 5squid\12\ 5S1175\1a\ 5S1175"FThe signature of "finalize()" should match that of "Object.finalize()"
+b
+\ 5squid\12\ 5S1174\1a\ 5S1174"K"Object.finalize()" should remain protected (versus public) when overriding
+A
+\ 5squid\12\ 5S2151\1a\ 5S2151"*"runFinalizersOnExit" should not be called
+f
+\ 5squid\12\1cCallToFileDeleteOnExitMethod\1a\1cCallToFileDeleteOnExitMethod"!"deleteOnExit" should not be used
+Z
+\ 5squid\12\1aLabelsShouldNotBeUsedCheck\1a\1aLabelsShouldNotBeUsedCheck"\19Labels should not be used
+e
+\ 5squid\12\ 5S1488\1a\ 5S1488"NLocal Variables should not be declared and then immediately returned or thrown
+Z
+\ 5squid\12\ 5S3008\1a\ 5S3008"CStatic non-final field names should comply with a naming convention
+{
+\ 5squid\12\1cSwitchLastCaseIsDefaultCheck\1a\1cSwitchLastCaseIsDefaultCheck"6"switch" statements should end with a "default" clause
\ 1
+\ 5squid\12,RightCurlyBraceDifferentLineAsNextBlockCheck\1a,RightCurlyBraceDifferentLineAsNextBlockCheck"fClose curly brace and the next "else", "catch" and "finally" keywords should be on two different lines
+d
+\ 5squid\12\13ModifiersOrderCheck\1a\13ModifiersOrderCheck"1Modifiers should be declared in the correct order
+?
+\ 5squid\12\ 5S1181\1a\ 5S1181"(Throwable and Error should not be caught
+9
+\ 5squid\12\ 5S1905\1a\ 5S1905""Redundant casts should not be used
+c
+\ 5squid\12\ 5S1182\1a\ 5S1182"LClasses that override "clone" should be "Cloneable" and call "super.clone()"
+j
+\ 5squid\12\ 5S2201\1a\ 5S2201"SReturn values should not be ignored when function calls don't have any side effects
+2
+\ 5squid\12\ 5S1186\1a\ 5S1186"\eMethods should not be empty
+=
+\ 5squid\12\ 5S1872\1a\ 5S1872"&Classes should not be compared by name
+R
+\ 5squid\12\ 5S2438\1a\ 5S2438";"Threads" should not be used where "Runnables" are expected
+u
+\ 5squid\12\ 5S1871\1a\ 5S1871"^Two branches in the same conditional structure should not have exactly the same implementation
+l
+\ 5squid\12\ 5S1185\1a\ 5S1185"UOverriding methods should do more than simply call the same method in the super class
+S
+\ 5squid\12\ 5S1188\1a\ 5S1188"<Lambdas and anonymous classes should not have too many lines
+@
+\ 5squid\12\ 5S1873\1a\ 5S1873")"static final" arrays should be "private"
+\
+\ 5squid\12\ 5S2204\1a\ 5S2204"E".equals()" should not be used to test the values of "Atomic" classes
+C
+\ 5squid\12\ 5S2437\1a\ 5S2437",Silly bit operations should not be performed
+T
+\ 5squid\12\ 5S2200\1a\ 5S2200"="compareTo" results should not be checked for specific values
+R
+\ 5squid\12\12UselessImportCheck\1a\12UselessImportCheck"!Useless imports should be removed
+E
+\ 5squid\12\ 5S2209\1a\ 5S2209"."static" members should be accessed statically
+?
+\ 5squid\12\ 5S1481\1a\ 5S1481"(Unused local variables should be removed
+\80\ 1
+\ 5squid\12\16MissingDeprecatedCheck\1a\16MissingDeprecatedCheck"GDeprecated elements should have both the annotation and the Javadoc tag
+:
+\ 5squid\12\ 5S2208\1a\ 5S2208"#Wildcard imports should not be used
+>
+\ 5squid\12\ 5S1774\1a\ 5S1774"'The ternary operator should not be used
+V
+\ 5squid\12\ 5S2272\1a\ 5S2272"?"Iterator.next()" methods should throw "NoSuchElementException"
+\89\ 1
+\ 5squid\12\ 5S2273\1a\ 5S2273"r"wait(...)", "notify()" and "notifyAll()" methods should only be called when a lock is obviously held on an object
+a
+\ 5squid\12\18LowerCaseLongSuffixCheck\1a\18LowerCaseLongSuffixCheck"$Long suffix "L" should be upper case
+C
+\ 5squid\12\ 5S2786\1a\ 5S2786",Nested "enum"s should not be declared static
+J
+\ 5squid\12\ 5S1118\1a\ 5S1118"3Utility classes should not have public constructors
+z
+\ 5squid\12\ 5S2277\1a\ 5S2277"cCryptographic RSA algorithms should always incorporate OAEP (Optimal Asymmetric Encryption Padding)
+a
+\ 5squid\12\15UnusedProtectedMethod\1a\15UnusedProtectedMethod"*Unused protected methods should be removed
+d
+\ 5squid\12\ 5S2276\1a\ 5S2276"M"wait(...)" should be used instead of "Thread.sleep(...)" when a lock is held
+d
+\ 5squid\12\ 5S2275\1a\ 5S2275"MPrintf-style format strings should not lead to unexpected behavior at runtime
+k
+\ 5squid\12\ 5S2274\1a\ 5S2274"T"Object.wait(...)" and "Condition.await(...)" should be called inside a "while" loop
+c
+\ 5squid\12\14CommentedOutCodeLine\1a\14CommentedOutCodeLine".Sections of code should not be "commented out"
+^
+\ 5squid\12\ 5S2278\1a\ 5S2278"GNeither DES (Data Encryption Standard) nor DESede (3DES) should be used
+C
+\ 5squid\12\ 5S2912\1a\ 5S2912","indexOf" checks should use a start position
+<
+\ 5squid\12\ 5S1656\1a\ 5S1656"%Variables should not be self-assigned
+Q
+\ 5squid\12\ 5S1659\1a\ 5S1659":Multiple variables should not be declared on the same line
+L
+\ 5squid\12\ 5S1264\1a\ 5S1264"5A "while" loop should be used instead of a "for" loop
+Y
+\ 5squid\12\ 5S1125\1a\ 5S1125"BLiteral boolean values should not be used in condition expressions
+k
+\ 5squid\12\ 5S1126\1a\ 5S1126"TReturn of boolean expressions should not be wrapped into an "if-then-else" statement
+\7f
+\ 5squid\12\1cClassVariableVisibilityCheck\1a\1cClassVariableVisibilityCheck":Class variable fields should not have public accessibility
+H
+\ 5squid\12\ 5S2250\1a\ 5S2250"1"ConcurrentLinkedQueue.size()" should not be used
+M
+\ 5squid\12\ 5S1643\1a\ 5S1643"6Strings should not be concatenated using '+' in a loop
+`
+\ 5squid\12\ 5S2251\1a\ 5S2251"IA "for" loop update clause should move the counter in the right direction
+Z
+\ 5squid\12\ 5S1640\1a\ 5S1640"CMaps with keys that are enum values should be replaced with EnumMap
+E
+\ 5squid\12\ 5S2118\1a\ 5S2118".Non-serializable classes should not be written
+B
+\ 5squid\12\ 6S00112\1a\ 6S00112")Generic exceptions should never be thrown
+>
+\ 5squid\12\ 5S2111\1a\ 5S2111"'"BigDecimal(double)" should not be used
+H
+\ 5squid\12\ 5S2112\1a\ 5S2112"1"URL.hashCode" and "URL.equals" should be avoided
+?
+\ 5squid\12\ 5S2110\1a\ 5S2110"(Invalid "Date" values should not be used
+X
+\ 5squid\12\ 5S2116\1a\ 5S2116"A"hashCode" and "toString" should not be called on array instances
+J
+\ 5squid\12\ 5S2391\1a\ 5S2391"3JUnit framework methods should be declared properly
+Y
+\ 5squid\12\ 5S2114\1a\ 5S2114"BCollections should not be passed as arguments to their own methods
+?
+\ 5squid\12\ 5S2259\1a\ 5S2259"(Null pointers should not be dereferenced
+d
+\ 5squid\12\ 5S1132\1a\ 5S1132"MStrings literals should be placed on the left side when checking for equality
+D
+\ 5squid\12\ 6S00107\1a\ 6S00107"+Methods should not have too many parameters
+c
+\ 5squid\12\ 5S2258\1a\ 5S2258"L"javax.crypto.NullCipher" should not be used for anything other than testing
+C
+\ 5squid\12\ 5S1133\1a\ 5S1133",Deprecated code should be removed eventually
+L
+\ 5squid\12\ 5S2257\1a\ 5S2257"5Only standard cryptographic algorithms should be used
+G
+\ 5squid\12\ 6S00108\1a\ 6S00108".Nested blocks of code should not be left empty
+5
+\ 5squid\12\ 6S00103\1a\ 6S00103"\1cLines should not be too long
+V
+\ 5squid\12\ 5S2254\1a\ 5S2254"?"HttpServletRequest.getRequestedSessionId()" should not be used
+<
+\ 5squid\12\ 5S2253\1a\ 5S2253"%Disallowed methods should not be used
+5
+\ 5squid\12\ 5S1134\1a\ 5S1134"\1e"FIXME" tags should be handled
+A
+\ 5squid\12\ 6S00105\1a\ 6S00105"(Tabulation characters should not be used
+C
+\ 5squid\12\ 5S2252\1a\ 5S2252",Loop conditions should be true at least once
+4
+\ 5squid\12\ 5S1135\1a\ 5S1135"\1d"TODO" tags should be handled
+=
+\ 5squid\12\ 6S00104\1a\ 6S00104"$Files should not have too many lines
+?
+\ 5squid\12\ 6S00122\1a\ 6S00122"&Statements should be on separate lines
+M
+\ 5squid\12\ 6S00120\1a\ 6S00120"4Package names should comply with a naming convention
+U
+\ 5squid\12\ 5S2109\1a\ 5S2109">Reflection should not be used to check non-runtime annotations
+J
+\ 5squid\12\ 6S00121\1a\ 6S00121"1Control structures should always use curly braces
+j
+\ 5squid\12\ 5S2676\1a\ 5S2676"SNeither "Math.abs" nor negation should be used on numbers that could be "MIN_VALUE"
+I
+\ 5squid\12\ 5S2677\1a\ 5S2677"2"read" and "readLine" return values should be used
+N
+\ 5squid\12\ 5S2674\1a\ 5S2674"7The value returned from a stream read should be checked
+@
+\ 5squid\12\ 5S2675\1a\ 5S2675")"readObject" should not be "synchronized"
+V
+\ 5squid\12\14CycleBetweenPackages\1a\14CycleBetweenPackages"!Avoid cycle between java packages
+h
+\ 5squid\12\ 5S1149\1a\ 5S1149"QSynchronized classes Vector, Hashtable, Stack and StringBuffer should not be used
+O
+\ 5squid\12\ 5S1244\1a\ 5S1244"8Floating point numbers should not be tested for equality
+P
+\ 5squid\12\ 5S2384\1a\ 5S2384"9Mutable members should not be stored or returned directly
+{
+\ 5squid\12\1aLeftCurlyBraceEndLineCheck\1a\1aLeftCurlyBraceEndLineCheck":An open curly brace should be located at the end of a line
+Q
+\ 5squid\12\ 5S2387\1a\ 5S2387":Child class members should not shadow parent class members
+P
+\ 5squid\12\ 5S2386\1a\ 5S2386"9Interfaces should not have "public static" mutable fields
+U
+\ 5squid\12\ 5S2388\1a\ 5S2388">Inner class calls to super class methods should be unambiguous
+<
+\ 5squid\12\ 5S1141\1a\ 5S1141"%Try-catch blocks should not be nested
+L
+\ 5squid\12\ 5S1142\1a\ 5S1142"5Methods should not contain too many return statements
+T
+\ 5squid\12\ 6S00119\1a\ 6S00119";Type parameter names should comply with a naming convention
+c
+\ 5squid\12\ 5S2245\1a\ 5S2245"LPseudorandom number generators (PRNGs) should not be used in secure contexts
+O
+\ 5squid\12\ 5S1143\1a\ 5S1143"8"return" statements should not occur in "finally" blocks
+T
+\ 5squid\12\ 6S00118\1a\ 6S00118";Abstract class names should comply with a naming convention
+i
+\ 5squid\12\ 6S00117\1a\ 6S00117"PLocal variable and method parameter names should comply with a naming convention
+]
+\ 5squid\12\ 5S1145\1a\ 5S1145"FUseless "if(true) {...}" and "if(false){...}" blocks should be removed
+K
+\ 5squid\12\ 6S00116\1a\ 6S00116"2Field names should comply with a naming convention
+N
+\ 5squid\12\ 6S00115\1a\ 6S00115"5Constant names should comply with a naming convention
+\85\ 1
+\ 5squid\12\1cLeftCurlyBraceStartLineCheck\1a\1cLeftCurlyBraceStartLineCheck"@An open curly brace should be located at the beginning of a line
+8
+\ 5squid\12\ 5S1147\1a\ 5S1147"!Exit methods should not be called
+O
+\ 5squid\12\ 6S00114\1a\ 6S00114"6Interface names should comply with a naming convention
+J
+\ 5squid\12\ 5S1148\1a\ 5S1148"3Throwable.printStackTrace(...) should not be called
+J
+\ 5squid\12\ 6S00113\1a\ 6S00113"1Files should contain an empty new line at the end
+]
+\ 5squid\12\ 5S1215\1a\ 5S1215"FExecution of the Garbage Collector should be triggered only by the JVM
+T
+\ 5squid\12\ 5S1217\1a\ 5S1217"=Thread.run() and Runnable.run() should not be called directly
+A
+\ 5squid\12\ 5S2188\1a\ 5S2188"*JUnit test cases should call super methods
+M
+\ 5squid\12\ 5S1219\1a\ 5S1219"6"switch" statements should not contain non-case labels
+K
+\ 5squid\12\ 5S2186\1a\ 5S2186"4JUnit assertions should not be used in "run" methods
+5
+\ 5squid\12\ 5S2187\1a\ 5S2187"\1eTestCases should contain tests
+i
+\ 5squid\12\ 5S1210\1a\ 5S1210"R"equals(Object obj)" should be overridden along with the "compareTo(T obj)" method
+D
+\ 5squid\12\ 5S1214\1a\ 5S1214"-Constants should not be defined in interfaces
+o
+\ 5squid\12\ 5S1609\1a\ 5S1609"X@FunctionalInterface annotation should be used to flag Single Abstract Method interfaces
+l
+\ 5squid\12\ 5S1213\1a\ 5S1213"UThe members of an interface declaration or class should appear in a pre-defined order
+d
+\ 5squid\12\13ObjectFinalizeCheck\1a\13ObjectFinalizeCheck"1The Object.finalize() method should not be called
+<
+\ 5squid\12\ 5S2089\1a\ 5S2089"%HTTP referers should not be relied on
+s
+\ 5squid\12\ 5S1611\1a\ 5S1611"\Parentheses should be removed from a single lambda input parameter when its type is inferred
+J
+\ 5squid\12\ 5S2681\1a\ 5S2681"3Multiline blocks should be enclosed in curly braces
+K
+\ 5squid\12\ 5S1612\1a\ 5S1612"4Replace lambdas with method references when possible
+9
+\ 5squid\12\ 5S2185\1a\ 5S2185""Silly math should not be performed
+E
+\ 5squid\12\ 5S2184\1a\ 5S2184".Math operands should be cast before assignment
+X
+\ 5squid\12\ 5S1610\1a\ 5S1610"AAbstract classes without fields should be converted to interfaces
+_
+\ 5squid\12\ 5S2183\1a\ 5S2183"HInts and longs should not be shifted by more than their number of bits-1
+8
+\ 5squid\12        EmptyFile\1a      EmptyFile"\19Files should not be empty
+N
+\ 5squid\12\ 5S1228\1a\ 5S1228"7Packages should have a javadoc file 'package-info.java'
+Z
+\ 5squid\12\13UnusedPrivateMethod\1a\13UnusedPrivateMethod"'Unused private method should be removed
+j
+\ 5squid\12\ 5S1226\1a\ 5S1226"SMethod parameters, caught exceptions and foreach variables should not be reassigned
+P
+\ 5squid\12\ 5S2197\1a\ 5S2197"9Modulus results should not be checked for direct equality
+\83\ 1
+\ 5squid\12\1eAssignmentInSubExpressionCheck\1a\1eAssignmentInSubExpressionCheck":Assignments should not be made from within sub-expressions
+H
+\ 5squid\12\ 5S1221\1a\ 5S1221"1Methods should not be named "hashcode" or "equal"
+E
+\ 5squid\12\ 5S1220\1a\ 5S1220".The default unnamed package should not be used
+1
+\ 5squid\12\ 5S2092\1a\ 5S2092"\1aCookies should be "secure"
+2
+\ 5squid\12\ 5S2094\1a\ 5S2094"\eClasses should not be empty
+1
+\ 5squid\12\ 5S2095\1a\ 5S2095"\1aResources should be closed
+9
+\ 5squid\12\ 5S2096\1a\ 5S2096"""main" should not "throw" anything
+c
+\ 5squid\12\ 5S1223\1a\ 5S1223"LNon-constructor methods should not have the same name as the enclosing class
+E
+\ 5squid\12\ 5S2097\1a\ 5S2097"."equals(Object obj)" should test argument type
+K
+\ 5squid\12\ 5S2696\1a\ 5S2696"4Instance methods should not write to "static" fields
+6
+\ 5squid\12\ 5S2699\1a\ 5S2699"\1fTests should include assertions
+?
+\ 5squid\12\ 5S2698\1a\ 5S2698"(JUnit assertions should include messages
+D
+\ 5squid\12\ 5S2693\1a\ 5S2693"-Threads should not be started in constructors
+J
+\ 5squid\12\ 5S2692\1a\ 5S2692"3"indexOf" checks should not be for positive numbers
+f
+\ 5squid\12\ 5S2695\1a\ 5S2695"O"PreparedStatement" and "ResultSet" methods should be called with valid indices
+c
+\ 5squid\12\ 5S2694\1a\ 5S2694"LInner classes which do not reference their owning classes should be "static"
+I
+\ 5squid\12\ 5S2885\1a\ 5S2885"2"Calendars" and "DateFormats" should not be static
+]
+\ 5squid\12\ 5S2166\1a\ 5S2166"FClasses named like "Exception" should extend "Exception" or a subclass
+H
+\ 5squid\12\ 5S2167\1a\ 5S2167"1"compareTo" should not return "Integer.MIN_VALUE"
+=
+\ 5squid\12\ 5S2164\1a\ 5S2164"&Math should not be performed on floats
+A
+\ 5squid\12\ 5S2165\1a\ 5S2165"*"finalize" should not set fields to "null"
+s
+\ 5squid\12\ 5S1994\1a\ 5S1994"\"for" loop incrementers should modify the variable being tested in the loop's stop condition
+x
+\ 5squid\12\1fRedundantThrowsDeclarationCheck\1a\1fRedundantThrowsDeclarationCheck"-Throws declarations should not be superfluous
+S
+\ 5squid\12\ 5S2162\1a\ 5S2162"<"equals" methods should be symmetric and work for subclasses
+J
+\ 5squid\12\ 5S2160\1a\ 5S2160"3Subclasses that add fields should override "equals"
+J
+\ 5squid\12\ 5S2175\1a\ 5S2175"3Inappropriate "Collection" calls should not be made
+o
+\ 5squid\12\1aForLoopCounterChangedCheck\1a\1aForLoopCounterChangedCheck"."for" loop stop conditions should be invariant
+O
+\ 5squid\12\ 5S2176\1a\ 5S2176"8Class names should not shadow interfaces or superclasses
+M
+\ 5squid\12\ 5S2178\1a\ 5S2178"6Short-circuit logic should be used in boolean contexts
+T
+\ 5squid\12\ 5S1700\1a\ 5S1700"=A field should not duplicate the name of its containing class
+Z
+\ 5squid\12\ 5S1206\1a\ 5S1206"C"equals(Object obj)" and "hashCode()" should be overridden in pairs
+K
+\ 5squid\12\ 5S1701\1a\ 5S1701"4Fields and methods should not have conflicting names
+S
+\ 5squid\12\ 5S1201\1a\ 5S1201"<Methods named "equals" should override Object.equals(Object)
+p
+\ 5squid\12\ 5S1200\1a\ 5S1200"YClasses should not be coupled to too many other classes (Single Responsibility Principle)
+`
+\ 5squid\12\19ClassCyclomaticComplexity\1a\19ClassCyclomaticComplexity"!Classes should not be too complex
+f
+\ 5squid\12\ 5S1602\1a\ 5S1602"OLamdbas containing only one statement should not nest this statement in a block
+_
+\ 5squid\12\ 5S1604\1a\ 5S1604"HAnonymous inner classes containing only one method should become lambdas
+J
+\ 5squid\12\ 5S1309\1a\ 5S1309"3The @SuppressWarnings annotation should not be used
+K
+\ 5squid\12\ 5S1607\1a\ 5S1607"4Skipped unit tests should be either removed or fixed
+P
+\ 5squid\12\ 5S1301\1a\ 5S1301"9"switch" statements should have at least 3 "case" clauses
+1
+\ 5squid\12\ 5S2446\1a\ 5S2446"\1a"notifyAll" should be used
+r
+\ 5squid\12\ 5S2445\1a\ 5S2445"[Blocks synchronized on fields should not contain assignments of new objects to those fields
+V
+\ 5squid\12\ 5S2444\1a\ 5S2444"?Lazy initialization of "static" fields should be "synchronized"
+M
+\ 5squid\12\ 5S1858\1a\ 5S1858"6"toString()" should never be called on a String object
+y
+\ 5squid\12\1cObjectFinalizeOverridenCheck\1a\1cObjectFinalizeOverridenCheck"4The Object.finalize() method should not be overriden
+B
+\ 5squid\12\ 5S2442\1a\ 5S2442"+"Lock" objects should not be "synchronized"
+V
+\ 5squid\12\ 5S2441\1a\ 5S2441"?Non-serializable objects should not be stored in "HttpSessions"
+T
+\ 5squid\12\ 5S2440\1a\ 5S2440"=Classes with only "static" methods should not be instantiated
+C
+\ 5squid\12\ 5S1710\1a\ 5S1710",Annotation repetitions should not be wrapped
+]
+\ 5squid\12\ 5S2583\1a\ 5S2583"FConditions should not unconditionally evaluate to "TRUE" or to "FALSE"
+d
+\ 5squid\12\ 5S1850\1a\ 5S1850"M"instanceof" operators that always return "true" or "false" should be removed
+J
+\ 5squid\12\ 5S2447\1a\ 5S2447"3Null should not be returned from a "Boolean" method
+F
+\ 5squid\12\ 5S1310\1a\ 5S1310"/"NOPMD" suppression comments should not be used
+d
+\ 5squid\12\ 4S864\1a\ 4S864"OLimited dependence should be placed on operator precedence rules in expressions
+;
+\ 5squid\12\ 5S1313\1a\ 5S1313"$IP addresses should not be hardcoded
+d
+\ 5squid\12\ 5S1312\1a\ 5S1312"MLoggers should be "private static final" and should share a naming convention
+\9a\ 1
+\ 5squid\12\ 5S1319\1a\ 5S1319"\82\ 1Declarations should use Java collection interfaces such as "List" rather than specific implementation classes such as "LinkedList"
+W
+\ 5squid\12\ 5S1318\1a\ 5S1318"@"object == null" should be used instead of "object.equals(null)"
+U
+\ 5squid\12\ 5S1452\1a\ 5S1452">Generic wildcard types should not be used in return parameters
+F
+\ 5squid\12\ 5S1451\1a\ 5S1451"/Copyright and license headers should be defined
+X
+\ 5squid\12\10IndentationCheck\1a\10IndentationCheck"+Source code should be indented consistently
+_
+\ 5squid\12\ 5S2718\1a\ 5S2718"H"DateUtils.truncate" from Apache Commons Lang library should not be used
+O
+\ 5squid\12\ 5S1315\1a\ 5S1315"8"CHECKSTYLE:OFF" suppression comments should not be used
+6
+\ 5squid\12\ 5S1314\1a\ 5S1314"\1fOctal values should not be used
+e
+\ 5squid\12\ 5S1317\1a\ 5S1317"N"StringBuilder" and "StringBuffer" should not be instantiated with a character
+Y
+\ 5squid\12\ 5S1860\1a\ 5S1860"BSynchronization should not be based on Strings or boxed primitives
+Y
+\ 5squid\12\ 5S1862\1a\ 5S1862"BRelated "if/else if" statements should not have the same condition
+[
+\ 5squid\12\ 5S1724\1a\ 5S1724"DDeprecated classes and interfaces should not be extended/implemented
+z
+\ 5squid\12\ 4S881\1a\ 4S881"eIncrement (++) and decrement (--) operators should not be mixed with other operators in an expression
+8
+\ 5squid\12\fParsingError\1a\fParsingError"\13Java parser failure
+M
+\ 5squid\12\ 5S1598\1a\ 5S1598"6Package declaration should match source file directory
+u
+\ 5squid\12\ 5S2055\1a\ 5S2055"^The non-serializable super class of a "Serializable" class must have a no-argument constructor
+\93\ 1
+\ 5squid\12\ 5S1596\1a\ 5S1596"|Collections.emptyList(), emptyMap() and emptySet() should be used instead of Collections.EMPTY_LIST, EMPTY_MAP and EMPTY_SET
+F
+\ 5squid\12\ 5S2057\1a\ 5S2057"/"Serializable" classes should have a version id
+^
+\ 5squid\12\ 5S2059\1a\ 5S2059"G"Serializable" inner classes of "Serializable" classes should be static
+N
+\ 5squid\12\ 5S2701\1a\ 5S2701"7Literal boolean values should not be used in assertions
+;
+\ 5squid\12\ 5S2063\1a\ 5S2063"$Comparators should be "Serializable"
\ 1
+\ 5squid\12'RightCurlyBraceSameLineAsNextBlockCheck\1a'RightCurlyBraceSameLineAsNextBlockCheck"hClose curly brace and the next "else", "catch" and "finally" keywords should be located on the same line
+V
+\ 5squid\12\ 5S2061\1a\ 5S2061"?Custom serialization method signatures should meet requirements
+C
+\ 5squid\12\ 5S1066\1a\ 5S1066",Collapsible "if" statements should be merged
+<
+\ 5squid\12\ 5S1067\1a\ 5S1067"%Expressions should not be too complex
+_
+\ 5squid\12\18EmptyStatementUsageCheck\1a\18EmptyStatementUsageCheck""Empty statements should be removed
+b
+\ 5squid\12\1aMethodCyclomaticComplexity\1a\1aMethodCyclomaticComplexity"!Methods should not be too complex
+6
+\ 5squid\12\ 5S1065\1a\ 5S1065"\1fUnused labels should be removed
+>
+\ 5squid\12\ 5S1068\1a\ 5S1068"'Unused private fields should be removed
+U
+\ 5squid\12\ 5S2976\1a\ 5S2976">"File.createTempFile" should not be used to create a directory
+N
+\ 5squid\12\ 5S2974\1a\ 5S2974"7Classes without "public" constructors should be "final"
+;
+\ 5squid\12\ 5S2068\1a\ 5S2068"$Credentials should not be hard-coded
+4
+\ 5squid\12\ 5S2970\1a\ 5S2970"\1dAssertions should be complete
+S
+\ 5squid\12\ 5S2065\1a\ 5S2065"<Fields in non-serializable classes should not be "transient"
+b
+\ 5squid\12\ 5S2066\1a\ 5S2066"K"Serializable" inner classes of non-serializable classes should be "static"
+U
+\ 5squid\12\ 5S1197\1a\ 5S1197">Array designators "[]" should be on the type, not the variable
+\81\ 1
+\ 5squid\12\ 5S1844\1a\ 5S1844"j"Object.wait(...)" should never be called on objects that implement "java.util.concurrent.locks.Condition"
+<
+\ 5squid\12\ 5S1199\1a\ 5S1199"%Nested code blocks should not be used
+a
+\ 5squid\12\ 5S1848\1a\ 5S1848"JObjects should not be created to be dropped immediately without being used
+K
+\ 5squid\12\ 5S2301\1a\ 5S2301"4Public methods should not contain selector arguments
+M
+\ 5squid\12\ 5S1849\1a\ 5S1849"6"Iterator.hasNext()" should not call "Iterator.next()"
+R
+\ 5squid\12\ 5S2070\1a\ 5S2070";SHA-1 and Message-Digest hash algorithms should not be used
+\87\ 1
+\ 5squid\12\1dRightCurlyBraceStartLineCheck\1a\1dRightCurlyBraceStartLineCheck"@A close curly brace should be located at the beginning of a line
+]
+\ 5squid\12\ 5S2864\1a\ 5S2864"F"entrySet()" should be iterated when both the key and value are needed
+\18
+\ 5squid\12\ 5S1444\1a\ 5S1444"\ 1:
+G
+\ 5squid\12\ 5S1191\1a\ 5S1191"0Classes from "sun.*" packages should not be used
+B
+\ 5squid\12\ 5S1190\1a\ 5S1190"+Future keywords should not be used as names
+^
+\ 5squid\12\ 5S1193\1a\ 5S1193"GException types should not be tested using "instanceof" in catch blocks
+G
+\ 5squid\12\ 5S2076\1a\ 5S2076"0Values passed to OS commands should be sanitized
+H
+\ 5squid\12\ 5S2077\1a\ 5S2077"1Values passed to SQL commands should be sanitized
+5
+\ 5squid\12\ 4S109\1a\ 4S109" Magic numbers should not be used
+?
+\ 5squid\12\ 5S1192\1a\ 5S1192"(String literals should not be duplicated
+P
+\ 5squid\12\ 4S106\1a\ 4S106";Standard ouputs should not be used directly to log anything
+c
+\ 5squid\12\ 5S1195\1a\ 5S1195"LArray designators "[]" should be located after the type in method signatures
+H
+\ 5squid\12\ 5S2078\1a\ 5S2078"1Values passed to LDAP queries should be sanitized
\ 1
+\ 5squid\12.ObjectFinalizeOverridenCallsSuperFinalizeCheck\1a.ObjectFinalizeOverridenCallsSuperFinalizeCheck"Qsuper.finalize() should be called at the end of Object.finalize() implementations
+?
+\ 5squid\12\ 5S1194\1a\ 5S1194"("java.lang.Error" should not be extended
\ No newline at end of file