The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
| Class | Bugs |
|---|---|
| net.osgiliath.sample.webapp.model.entities.GenericEntity | 4 |
| net.osgiliath.sample.webapp.model.entities.GenericEntity_ | 2 |
| net.osgiliath.sample.webapp.model.entities.HelloEntity_ | 1 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| net.osgiliath.sample.webapp.model.entities.GenericEntity.pcCopyKeyFieldsFromObjectId(Object) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | Not available | Medium |
| net.osgiliath.sample.webapp.model.entities.GenericEntity.pcCopyKeyFieldsFromObjectId(FieldConsumer, Object) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | Not available | Medium |
| net.osgiliath.sample.webapp.model.entities.GenericEntity.pcIsDetached() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | Not available | Medium |
| Champ jamais écrit : net.osgiliath.sample.webapp.model.entities.GenericEntity.pcPCSuperclass | CORRECTNESS | UWF_UNWRITTEN_FIELD | Not available | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unused public or protected field: net.osgiliath.sample.webapp.model.entities.GenericEntity_.entityId | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
| Unused public or protected field: net.osgiliath.sample.webapp.model.entities.GenericEntity_.version | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unused public or protected field: net.osgiliath.sample.webapp.model.entities.HelloEntity_.helloMessage | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |