The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is max
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Equals method for ejava.jpa.examples.tuning.bo.Movie assumes the argument is of type Movie | BAD_PRACTICE | BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS | 181 | Medium |
ejava.jpa.examples.tuning.bo.Movie.getReleaseDate() may expose internal representation by returning Movie.releaseDate | MALICIOUS_CODE | EI_EXPOSE_REP | 100 | Medium |
new ejava.jpa.examples.tuning.bo.Movie(String, Integer, String, Date, String) may expose internal representation by storing an externally mutable object into Movie.releaseDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 88 | Medium |
ejava.jpa.examples.tuning.bo.Movie.setReleaseDate(Date) may expose internal representation by storing an externally mutable object into Movie.releaseDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 102 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
ejava.jpa.examples.tuning.bo.MoviePK.getReleaseDate() may expose internal representation by returning MoviePK.releaseDate | MALICIOUS_CODE | EI_EXPOSE_REP | 18 | Medium |
new ejava.jpa.examples.tuning.bo.MoviePK(String, Date) may expose internal representation by storing an externally mutable object into MoviePK.releaseDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 14 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of StringBuilder.toString(), which is known to be non-null in ejava.jpa.examples.tuning.bo.MovieRolePK.hashCode() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 26 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
ejava.jpa.examples.tuning.bo.Person.getBirthDate() may expose internal representation by returning Person.birthDate | MALICIOUS_CODE | EI_EXPOSE_REP | 54 | Medium |
ejava.jpa.examples.tuning.bo.Person.setBirthDate(Date) may expose internal representation by storing an externally mutable object into Person.birthDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 56 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of offset, which is known to be non-null in ejava.jpa.examples.tuning.dao.MovieDAOImpl.oneStepFromPersonByDAO(Person, Integer, Integer, String) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 273 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
ejava.jpa.examples.tuning.dao.MovieDAOImpl$DateParam.toString() may return null | BAD_PRACTICE | NP_TOSTRING_COULD_RETURN_NULL | 51 | Medium |
Should ejava.jpa.examples.tuning.dao.MovieDAOImpl$DateParam be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 45-60 | Medium |