SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.3
Threshold is low
Effort is max
Summary
| Classes |
Bugs |
Errors |
Missing Classes |
| 14 |
13 |
0 |
0 |
it.tidalwave.thesefoolishthings.examples.jpafinderexample.Main
| Bug |
Category |
Details |
Line |
Priority |
| Suppressing annotation on the field it.tidalwave.thesefoolishthings.examples.jpafinderexample.Main.log is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_FIELD |
Not available |
Medium |
it.tidalwave.thesefoolishthings.examples.jpafinderexample.impl.JpaFinder
| Bug |
Category |
Details |
Line |
Priority |
| Exception thrown in class it.tidalwave.thesefoolishthings.examples.jpafinderexample.impl.JpaFinder at new it.tidalwave.thesefoolishthings.examples.jpafinderexample.impl.JpaFinder(Class, Function, TxManager) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
99 |
Medium |
| Method intentionally throws RuntimeException. |
BAD_PRACTICE |
THROWS_METHOD_THROWS_RUNTIMEEXCEPTION |
142 |
Low |
| Suppressing annotation on the field it.tidalwave.thesefoolishthings.examples.jpafinderexample.impl.JpaFinder.log is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_FIELD |
Not available |
Medium |
it.tidalwave.thesefoolishthings.examples.jpafinderexample.impl.JpaFinder$JpaqlSortCriterion
| Bug |
Category |
Details |
Line |
Priority |
| Suppressing annotation on the method new it.tidalwave.thesefoolishthings.examples.jpafinderexample.impl.JpaFinder$JpaqlSortCriterion(String) is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
57 |
Medium |
it.tidalwave.thesefoolishthings.examples.jpafinderexample.impl.PersonEntity
| Bug |
Category |
Details |
Line |
Priority |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.jpafinderexample.impl.PersonEntity.getFirstName() is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
51 |
Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.jpafinderexample.impl.PersonEntity.getId() is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
48 |
Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.jpafinderexample.impl.PersonEntity.getLastName() is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
54 |
Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.jpafinderexample.impl.PersonEntity.setFirstName(String) is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
44 |
Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.jpafinderexample.impl.PersonEntity.setId(String) is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
44 |
Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.jpafinderexample.impl.PersonEntity.setLastName(String) is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
44 |
Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.jpafinderexample.impl.PersonEntity.toString() is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
44 |
Medium |
it.tidalwave.thesefoolishthings.examples.jpafinderexample.impl.TxManagerImpl