The following document contains the results of SpotBugs
SpotBugs Version is 3.1.12
Threshold is medium
Effort is default
Class | Bugs |
---|---|
ejava.examples.asyncmarket.ejb.DtoMapper | 1 |
ejava.examples.asyncmarket.ejb.SellerEJB | 1 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of bid in ejava.examples.asyncmarket.ejb.DtoMapper.toDTO(Person, Bid) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 31 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
ejava.examples.asyncmarket.ejb.SellerEJB.sellProduct(String, AuctionItem) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | 80 | Medium |