FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.2

Threshold is Low

Effort is Max

Summary

Classes Bugs Errors Missing Classes
205 16 0 0

com.gridsystems.innergrid.ftp.FtpConfiguration

Bug Category Details Line
com.gridsystems.innergrid.ftp.FtpConfiguration.load() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead PERFORMANCE DM_BOOLEAN_CTOR 96
Exception is caught when Exception is not thrown in com.gridsystems.innergrid.ftp.FtpConfiguration.load() STYLE REC_CATCH_EXCEPTION 88
com.gridsystems.innergrid.ftp.FtpConfiguration.store(FtpConfiguration) ignores exceptional return value of java.io.File.mkdirs() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 129

com.gridsystems.innergrid.ftp.GridFileObject

Bug Category Details Line
Exception is caught when Exception is not thrown in com.gridsystems.innergrid.ftp.GridFileObject.appendFileUpload() STYLE REC_CATCH_EXCEPTION 396
Exception is caught when Exception is not thrown in com.gridsystems.innergrid.ftp.GridFileObject.createInputStream(long) STYLE REC_CATCH_EXCEPTION 645
Exception is caught when Exception is not thrown in com.gridsystems.innergrid.ftp.GridFileObject.fileUpload(long) STYLE REC_CATCH_EXCEPTION 430

com.gridsystems.innergrid.ftp.GridFileObject$AppendUploadOutputStream

Bug Category Details Line
com.gridsystems.innergrid.ftp.GridFileObject$AppendUploadOutputStream.close() might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 598
Exception is caught when Exception is not thrown in com.gridsystems.innergrid.ftp.GridFileObject$AppendUploadOutputStream.close() STYLE REC_CATCH_EXCEPTION 606
com.gridsystems.innergrid.ftp.GridFileObject$AppendUploadOutputStream.close() ignores exceptional return value of java.io.File.delete() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 610

com.gridsystems.innergrid.ftp.GridFileObject$FtpDataSource

Bug Category Details Line
Should com.gridsystems.innergrid.ftp.GridFileObject$FtpDataSource be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 451-466

com.gridsystems.innergrid.ftp.GridFileObject$UploadOutputStream

Bug Category Details Line
Exception is caught when Exception is not thrown in com.gridsystems.innergrid.ftp.GridFileObject$UploadOutputStream.close() STYLE REC_CATCH_EXCEPTION 517
com.gridsystems.innergrid.ftp.GridFileObject$UploadOutputStream.close() ignores exceptional return value of java.io.File.delete() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 520

com.gridsystems.innergrid.ftp.GridFileSystemManager

Bug Category Details Line
Write to static field com.gridsystems.innergrid.ftp.GridFileSystemManager.log from instance method com.gridsystems.innergrid.ftp.GridFileSystemManager.setLogFactory(LogFactory) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 53

com.gridsystems.innergrid.ftp.GridFileSystemView

Bug Category Details Line
Exception is caught when Exception is not thrown in com.gridsystems.innergrid.ftp.GridFileSystemView.normalize(String) STYLE REC_CATCH_EXCEPTION 155

com.gridsystems.innergrid.ftp.GridUserManager

Bug Category Details Line
Write to static field com.gridsystems.innergrid.ftp.GridUserManager.log from instance method com.gridsystems.innergrid.ftp.GridUserManager.setLogFactory(LogFactory) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 250
Write to static field com.gridsystems.innergrid.ftp.GridUserManager.privilegedUserBean from instance method new com.gridsystems.innergrid.ftp.GridUserManager() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 85