The following document contains the results of SpotBugs
SpotBugs Version is 3.1.12
Threshold is medium
Effort is default
Class | Bugs |
---|---|
ejava.examples.txhotel.bo.Reservation | 4 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
ejava.examples.txhotel.bo.Reservation.getEndDate() may expose internal representation by returning Reservation.endDate | MALICIOUS_CODE | EI_EXPOSE_REP | 54 | Medium |
ejava.examples.txhotel.bo.Reservation.getStartDate() may expose internal representation by returning Reservation.startDate | MALICIOUS_CODE | EI_EXPOSE_REP | 60 | Medium |
ejava.examples.txhotel.bo.Reservation.setEndDate(Date) may expose internal representation by storing an externally mutable object into Reservation.endDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 57 | Medium |
ejava.examples.txhotel.bo.Reservation.setStartDate(Date) may expose internal representation by storing an externally mutable object into Reservation.startDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 63 | Medium |