Apache Commons logo Commons Configuration

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 2.0.3

Threshold is

Effort is min

Summary

Classes Bugs Errors Missing Classes
361 12 0 0

org.apache.commons.configuration2.CombinedConfiguration

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.commons.configuration2.CombinedConfiguration.constructCombinedNode(): java.io.ByteArrayOutputStream.toString() I18N DM_DEFAULT_ENCODING 914 High
Found reliance on default encoding in org.apache.commons.configuration2.CombinedConfiguration.constructCombinedNode(): new java.io.PrintStream(OutputStream) I18N DM_DEFAULT_ENCODING 912 High

org.apache.commons.configuration2.ConfigurationUtils

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.commons.configuration2.ConfigurationUtils.dump(Configuration, PrintStream): new java.io.PrintWriter(OutputStream) I18N DM_DEFAULT_ENCODING 110 High

org.apache.commons.configuration2.io.FileHandler

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.commons.configuration2.io.FileHandler.loadFromTransformedStream(InputStream, String): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 1107 High
Found reliance on default encoding in org.apache.commons.configuration2.io.FileHandler.saveToStream(OutputStream, String, URL): new java.io.OutputStreamWriter(OutputStream) I18N DM_DEFAULT_ENCODING 1300 High

org.apache.commons.configuration2.plist.SimpleCharStream

Bug Category Details Line Priority
Found reliance on default encoding in new org.apache.commons.configuration2.plist.SimpleCharStream(InputStream, int, int, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 322 High
Found reliance on default encoding in new org.apache.commons.configuration2.plist.SimpleCharStream(InputStream, String, int, int, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 315 High
Found reliance on default encoding in org.apache.commons.configuration2.plist.SimpleCharStream.ReInit(InputStream, int, int, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 362 High
Found reliance on default encoding in org.apache.commons.configuration2.plist.SimpleCharStream.ReInit(InputStream, String, int, int, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 355 High

org.apache.commons.configuration2.plist.XMLPropertyListConfiguration

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.commons.configuration2.plist.XMLPropertyListConfiguration.printValue(PrintWriter, int, Object): new String(byte[]) I18N DM_DEFAULT_ENCODING 407 High

org.apache.commons.configuration2.plist.XMLPropertyListConfiguration$PListNodeBuilder

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.commons.configuration2.plist.XMLPropertyListConfiguration$PListNodeBuilder.addDataValue(String): String.getBytes() I18N DM_DEFAULT_ENCODING 719 High

org.apache.commons.configuration2.resolver.CatalogResolver$Catalog

Bug Category Details Line Priority
Redundant nullcheck of url, which is known to be non-null in org.apache.commons.configuration2.resolver.CatalogResolver$Catalog.loadSystemCatalogs() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 427 High