buaa-learner / test3

Protected fields in a final class are useless

JAVA-W0417
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
1

The default case should be last within a switch block

JAVA-W1010
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
2

Method superfluously delegates to parent class method

JAVA-W1016
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
1

Unused private field detected

JAVA-W1025
Anti-pattern
Major
a year ago a year old
Seen in 106 files
106

Method returning collection/array type returns null instead

JAVA-W1066
Anti-pattern
Major
a year ago a year old
Seen in 70 files
258

equals checks for incompatible operand

JAVA-W0095
Anti-pattern
Major
a year ago a year old
Seen in 2 files
2

Possibly useful method return value is ignored

JAVA-W0243
Anti-pattern
Major
a year ago a year old
Seen in 1 file
1

Private method is never called

JAVA-W0324
Anti-pattern
Minor
a year ago a year old
Seen in 2 files
2

Empty catch clauses may hide exceptions

JAVA-W0052
Anti-pattern
Major
a year ago a year old
Seen in 14 files
16

Anonymous classes should not contain unused non-overridden methods

JAVA-W1039
Anti-pattern
Major
a year ago a year old
Seen in 1 file
1

Method uses the same code for multiple branches

JAVA-W0411
Anti-pattern
Minor
a year ago a year old
Seen in 2 files
4

Methods must not be empty

JAVA-W1004
Anti-pattern
Minor
a year ago a year old
Seen in 2 files
3

Overly generic exceptions should not be thrown

JAVA-W1042
Anti-pattern
Major
a year ago a year old
Seen in 4 files
5