Apache Commons logo Apache Commons Net™ logo

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
214 9 0 0

org.apache.commons.net.PrintCommandListener

Bug Category Details Line Priority
Found reliance on default encoding in new org.apache.commons.net.PrintCommandListener(PrintStream): new java.io.PrintWriter(OutputStream) I18N DM_DEFAULT_ENCODING 47 High
Found reliance on default encoding in new org.apache.commons.net.PrintCommandListener(PrintStream, boolean): new java.io.PrintWriter(OutputStream) I18N DM_DEFAULT_ENCODING 60 High
Found reliance on default encoding in new org.apache.commons.net.PrintCommandListener(PrintStream, boolean, char): new java.io.PrintWriter(OutputStream) I18N DM_DEFAULT_ENCODING 74 High
Found reliance on default encoding in new org.apache.commons.net.PrintCommandListener(PrintStream, boolean, char, boolean): new java.io.PrintWriter(OutputStream) I18N DM_DEFAULT_ENCODING 89 High

org.apache.commons.net.tftp.TFTPErrorPacket

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.commons.net.tftp.TFTPErrorPacket._newDatagram(DatagramPacket, byte[]): String.getBytes() I18N DM_DEFAULT_ENCODING 160 High
Found reliance on default encoding in org.apache.commons.net.tftp.TFTPErrorPacket.newDatagram(): String.getBytes() I18N DM_DEFAULT_ENCODING 199 High

org.apache.commons.net.tftp.TFTPRequestPacket

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.commons.net.tftp.TFTPRequestPacket._newDatagram(DatagramPacket, byte[]): String.getBytes() I18N DM_DEFAULT_ENCODING 189 High
Found reliance on default encoding in org.apache.commons.net.tftp.TFTPRequestPacket.newDatagram(): String.getBytes() I18N DM_DEFAULT_ENCODING 225 High

org.apache.commons.net.util.ListenerList

Bug Category Details Line Priority
Class org.apache.commons.net.util.ListenerList defines non-transient non-serializable instance field __listeners BAD_PRACTICE SE_BAD_FIELD Not available Medium