FindBugs version: 2.0.2
26274 lines of code analyzed, in 479 classes, in 39 packages.
Metric | Total | Density* |
---|---|---|
High Priority Warnings | 1 | 0.04 |
Medium Priority Warnings | 1 | 0.04 |
Total Warnings | 2 | 0.08 |
(* Defects per Thousand lines of non-commenting source statements)
Warning Type | Number |
---|---|
Internationalization Warnings | 1 |
Performance Warnings | 1 |
Total | 2 |
Click on a warning row to see full context information.
Code | Warning |
---|---|
Dm | Found reliance on default encoding in com.sun.syndication.io.XmlReader.getXmlProlog(BufferedInputStream, String): new String(byte[], int, int) |
Code | Warning |
---|---|
WMI | org.qedeq.kernel.bo.service.logic.ModuleConstantsExistenceCheckerImpl.init() makes inefficient use of keySet iterator instead of entrySet iterator |
Found a call to a method which will perform a byte to String (or String to byte) conversion, and will assume that the default platform encoding is suitable. This will cause the application behaviour to vary between platforms. Use an alternative API and specify a charset name or Charset object explicitly.
This method accesses the value of a Map entry, using a key that was retrieved from a keySet iterator. It is more efficient to use an iterator on the entrySet of the map, to avoid the Map.get(key) lookup.