The following document contains the results of SpotBugs
SpotBugs Version is 3.1.12
Threshold is medium
Effort is default
Class | Bugs |
---|---|
ejava.examples.ejbwar.customer.client.CustomerJaxRSClientImpl | 4 |
ejava.examples.ejbwar.customer.ejb.CustomerMgmtEJB | 1 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Nullcheck of response at line 80 of value previously dereferenced in ejava.examples.ejbwar.customer.client.CustomerJaxRSClientImpl.addCustomer(Customer) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 80 | Medium |
Nullcheck of response at line 160 of value previously dereferenced in ejava.examples.ejbwar.customer.client.CustomerJaxRSClientImpl.deleteCustomer(int) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 160 | Medium |
Nullcheck of response at line 110 of value previously dereferenced in ejava.examples.ejbwar.customer.client.CustomerJaxRSClientImpl.findCustomersByName(String, String, int, int) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 110 | Medium |
Nullcheck of response at line 135 of value previously dereferenced in ejava.examples.ejbwar.customer.client.CustomerJaxRSClientImpl.getCustomer(int) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 135 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Return value of Object.toString() ignored, but method has no side effect | STYLE | RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT | 37 | Medium |