PMD Results

The following document contains the results of PMD 4.3.

Files

org/jdtaus/core/container/ri/client/DefaultContainer.java

ViolationLine
Avoid using java.lang.ThreadGroup; it is not thread safe354
Avoid using java.lang.ThreadGroup; it is not thread safe415
Avoid using java.lang.ThreadGroup; it is not thread safe643
Avoid using java.lang.ThreadGroup; it is not thread safe944

org/jdtaus/core/container/ri/client/DefaultModel.java

ViolationLine
These nested if statements could be combined1127 - 1134
Avoid empty catch blocks2290 - 2293
Avoid empty catch blocks2451 - 2454

org/jdtaus/core/container/ri/client/WeakIdentityHashMap.java

ViolationLine
Avoid empty while statements475

org/jdtaus/core/container/ri/client/versioning/SimpleCharStream.java

ViolationLine
Avoid using java.lang.ThreadGroup; it is not thread safe139
Avoid using java.lang.ThreadGroup; it is not thread safe335
Avoid using java.lang.ThreadGroup; it is not thread safe335
Avoid using java.lang.ThreadGroup; it is not thread safe342
Avoid using java.lang.ThreadGroup; it is not thread safe375
Avoid using java.lang.ThreadGroup; it is not thread safe375
Avoid using java.lang.ThreadGroup; it is not thread safe382

org/jdtaus/core/container/ri/client/versioning/TokenMgrError.java

ViolationLine
Overriding method merely calls super146 - 148

org/jdtaus/core/container/ri/client/versioning/VersionParser.java

ViolationLine
Avoid using java.lang.ThreadGroup; it is not thread safe160
Avoid using java.lang.ThreadGroup; it is not thread safe202
Avoid using java.lang.ThreadGroup; it is not thread safe211
Unnecessary final modifier in final class219 - 251
An empty statement (semicolon) not part of a loop228
An empty statement (semicolon) not part of a loop238
Do not use if statements that are always true or always false249
Unnecessary final modifier in final class253 - 269
Unnecessary final modifier in final class371 - 377
Unnecessary final modifier in final class380 - 387
Avoid using java.lang.ThreadGroup; it is not thread safe396
Unnecessary final modifier in final class432 - 433
Unnecessary final modifier in final class436 - 437

org/jdtaus/core/container/ri/client/versioning/VersionParserTokenManager.java

ViolationLine
Avoid unused imports such as 'java.io.StringReader'25
Avoid unused imports such as 'java.util.List'26
Avoid unused imports such as 'java.util.LinkedList'27
Avoid unused imports such as 'java.util.Locale'28
Avoid unused imports such as 'java.text.NumberFormat'29
Do not start a literal by 0 unless it's an octal value101
These nested if statements could be combined115 - 116
Do not start a literal by 0 unless it's an octal value132
Avoid unused private methods such as 'jjAddStates(int,int)'.314
Avoid unused private methods such as 'jjCheckNAddTwoStates(int,int)'.320