The following document contains the results of FindBugs
FindBugs Version is 3.0.0
Threshold is medium
Effort is min
| Class | Bugs |
|---|---|
| com.ericsson.research.trap.spi.transports.ListenerHttpTransport | 1 |
| com.ericsson.research.trap.spi.transports.ServerHttpTransport | 2 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Write to static field com.ericsson.research.trap.spi.transports.ListenerHttpTransport.listenerNum from instance method new com.ericsson.research.trap.spi.transports.ListenerHttpTransport() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 79 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| com.ericsson.research.trap.spi.transports.ServerHttpTransport.handle(HttpExchange) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | 413 | Medium |
| Exception is caught when Exception is not thrown in com.ericsson.research.trap.spi.transports.ServerHttpTransport.handle(HttpExchange) | STYLE | REC_CATCH_EXCEPTION | 483 | Medium |