Apache Commons logo 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 15 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.nntp.NNTPClient

Bug Category Details Line Priority

org.apache.commons.net.nntp.Threader

Bug Category Details Line Priority
Dead store to bogusIdCount in org.apache.commons.net.nntp.Threader.buildContainer(Threadable, HashMap) STYLE DLS_DEAD_LOCAL_STORE 111 Medium
org.apache.commons.net.nntp.Threader.findRootSet(HashMap) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 218 Medium

org.apache.commons.net.pop3.POP3MessageInfo

Bug Category Details Line Priority
Unread public/protected field: org.apache.commons.net.pop3.POP3MessageInfo.identifier STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 84 Medium
Unread public/protected field: org.apache.commons.net.pop3.POP3MessageInfo.size STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 83 Medium

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