Apache Commons logo Commons VFS

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is min

Summary

Classes Bugs Errors Missing Classes
293 8 0 0

org.apache.commons.vfs2.cache.SoftRefFilesCache

Bug Category Details Line Priority
Synchronization performed on java.util.concurrent.locks.Lock in org.apache.commons.vfs2.cache.SoftRefFilesCache.endThread() MT_CORRECTNESS JLM_JSR166_LOCK_MONITORENTER 142 High
Synchronization performed on java.util.concurrent.locks.Lock in org.apache.commons.vfs2.cache.SoftRefFilesCache.startThread() MT_CORRECTNESS JLM_JSR166_LOCK_MONITORENTER 130 High

org.apache.commons.vfs2.provider.ram.RamFileRandomAccessContent

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.commons.vfs2.provider.ram.RamFileRandomAccessContent.writeBytes(String): String.getBytes() I18N DM_DEFAULT_ENCODING 520 High

org.apache.commons.vfs2.provider.ram.RamFileSystem

Bug Category Details Line Priority
org.apache.commons.vfs2.provider.ram.RamFileSystem is Serializable but its superclass doesn't define an accessible void constructor BAD_PRACTICE SE_NO_SUITABLE_CONSTRUCTOR 63-326 High

org.apache.commons.vfs2.provider.sftp.SftpFileSystem

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.commons.vfs2.provider.sftp.SftpFileSystem.executeCommand(String, StringBuilder): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 321 High

org.apache.commons.vfs2.tasks.ShowFileTask

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.commons.vfs2.tasks.ShowFileTask.logContent(FileObject, String): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 148 High

org.apache.commons.vfs2.util.DefaultCryptor

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.commons.vfs2.util.DefaultCryptor.decrypt(String): new String(byte[]) I18N DM_DEFAULT_ENCODING 87 High
Found reliance on default encoding in org.apache.commons.vfs2.util.DefaultCryptor.encrypt(String): String.getBytes() I18N DM_DEFAULT_ENCODING 57 High