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 |
|---|---|---|---|
| 5 | 43 | 0 | 0 |
Files
it.tidalwave.thesefoolishthings.examples.person.ListOfPersons
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Suppressing annotation on the method new it.tidalwave.thesefoolishthings.examples.person.ListOfPersons() is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 43-46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.add(int, Person) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.add(Person) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.addAll(int, Collection) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.addAll(Collection) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.canEqual(Object) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 43 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.clear() is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.contains(Object) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.containsAll(Collection) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.equals(Object) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 43 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.forEach(Consumer) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.get(int) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.hashCode() is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 43 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.indexOf(Object) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.isEmpty() is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.iterator() is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.lastIndexOf(Object) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.listIterator() is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.listIterator(int) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.parallelStream() is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.remove(int) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.remove(Object) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.removeAll(Collection) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.removeIf(Predicate) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.replaceAll(UnaryOperator) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.retainAll(Collection) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.set(int, Person) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.size() is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.sort(Comparator) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.spliterator() is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.stream() is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.subList(int, int) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.toArray() is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.toArray(IntFunction) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.ListOfPersons.toArray(Object[]) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 46 | Medium |
it.tidalwave.thesefoolishthings.examples.person.Person
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception thrown in class it.tidalwave.thesefoolishthings.examples.person.Person at new it.tidalwave.thesefoolishthings.examples.person.Person(String, String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 56 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.Person.canEqual(Object) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 45 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.Person.equals(Object) is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 45 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.Person.getFirstName() is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 62 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.Person.getId() is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 59 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.Person.getLastName() is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 65 | Medium |
| Suppressing annotation on the method it.tidalwave.thesefoolishthings.examples.person.Person.hashCode() is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 45 | Medium |
it.tidalwave.thesefoolishthings.examples.person.PersonRegistryHelper
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Suppressing annotation on the method new it.tidalwave.thesefoolishthings.examples.person.PersonRegistryHelper() is unnecessary | STYLE | US_USELESS_SUPPRESSION_ON_METHOD | 39 | Medium |
TheseFoolishThings :: Examples :: Data