The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.sim0mq.federatestarter.FederateStarter.processKillFederate(String, Object[]): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 418 | High |
Found reliance on default encoding in org.sim0mq.federatestarter.FederateStarter.waitForModelStarted(Object, String, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 328 | High |
Exceptional return value of java.io.File.delete() ignored in org.sim0mq.federatestarter.FederateStarter.processKillFederate(String, Object[]) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 454 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.sim0mq.message.Sim0MQMessage$Builder.messageStatus | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 316 | Medium |
Unread public/protected field: org.sim0mq.message.Sim0MQMessage$Builder.messageTypeId | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 294 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.sim0mq.message.Sim0MQReply$Builder.replyToId | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 89 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.sim0mq.message.SimulationMessage.encode(Encoding, Object, Object, Object, Object, long, MessageStatus, Object[]) invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) instead | PERFORMANCE | DM_NUMBER_CTOR | 75 | Medium |
org.sim0mq.message.SimulationMessage.encode(Encoding, Object, Object, Object, Object, long, MessageStatus, Object[]) invokes inefficient new Short(short) constructor; use Short.valueOf(short) instead | PERFORMANCE | DM_NUMBER_CTOR | 76 | Medium |
org.sim0mq.message.SimulationMessage.encodeReply(Encoding, String, Object, Object, Object, Object, long, MessageStatus, Object[]) invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) instead | PERFORMANCE | DM_NUMBER_CTOR | 119 | Medium |
org.sim0mq.message.SimulationMessage.encodeReply(Encoding, String, Object, Object, Object, Object, long, MessageStatus, Object[]) invokes inefficient new Short(short) constructor; use Short.valueOf(short) instead | PERFORMANCE | DM_NUMBER_CTOR | 120 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Boxed value is unboxed and then immediately reboxed in org.sim0mq.message.federationmanager.SimRunControlMessage.createMessage(Object[], Object) | PERFORMANCE | BX_UNBOXING_IMMEDIATELY_REBOXED | 262 | Medium |