The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.jclouds.s3.blobstore.S3BlobStore.clearAndDeleteContainer(String) forgets to throw new IllegalStateException(String, Throwable) | CORRECTNESS | RV_EXCEPTION_NOT_THROWN | 170 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of region, which is known to be non-null in org.jclouds.s3.blobstore.functions.LocationFromBucketLocation.apply(BucketMetadata) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 66 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.jclouds.s3.domain.BucketMetadata.getCreationDate() may expose internal representation by returning BucketMetadata.creationDate | MALICIOUS_CODE | EI_EXPOSE_REP | 51 | Medium |
new org.jclouds.s3.domain.BucketMetadata(String, Date, CanonicalUser) may expose internal representation by storing an externally mutable object into BucketMetadata.creationDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.jclouds.s3.domain.internal.BucketListObjectMetadata.getLastModified() may expose internal representation by returning BucketListObjectMetadata.lastModified | MALICIOUS_CODE | EI_EXPOSE_REP | 95 | Medium |
new org.jclouds.s3.domain.internal.BucketListObjectMetadata(String, Date, String, byte[], long, CanonicalUser, ObjectMetadata$StorageClass) may expose internal representation by storing an externally mutable object into BucketListObjectMetadata.lastModified | MALICIOUS_CODE | EI_EXPOSE_REP2 | 54 | Medium |
Class org.jclouds.s3.domain.internal.BucketListObjectMetadata defines non-transient non-serializable instance field owner | BAD_PRACTICE | SE_BAD_FIELD | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.jclouds.s3.domain.internal.CopyObjectResult.getLastModified() may expose internal representation by returning CopyObjectResult.lastModified | MALICIOUS_CODE | EI_EXPOSE_REP | 92 | Medium |
new org.jclouds.s3.domain.internal.CopyObjectResult(Date, String) may expose internal representation by storing an externally mutable object into CopyObjectResult.lastModified | MALICIOUS_CODE | EI_EXPOSE_REP2 | 51 | Medium |
Class org.jclouds.s3.domain.internal.CopyObjectResult defines non-transient non-serializable instance field owner | BAD_PRACTICE | SE_BAD_FIELD | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.jclouds.s3.domain.internal.MutableObjectMetadataImpl.getLastModified() may expose internal representation by returning MutableObjectMetadataImpl.lastModified | MALICIOUS_CODE | EI_EXPOSE_REP | 96 | Medium |
org.jclouds.s3.domain.internal.MutableObjectMetadataImpl.setLastModified(Date) may expose internal representation by storing an externally mutable object into MutableObjectMetadataImpl.lastModified | MALICIOUS_CODE | EI_EXPOSE_REP2 | 145 | Medium |
Class org.jclouds.s3.domain.internal.MutableObjectMetadataImpl defines non-transient non-serializable instance field owner | BAD_PRACTICE | SE_BAD_FIELD | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.jclouds.s3.filters.RequestAuthorizeSignature.SPECIAL_QUERIES isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 79 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.jclouds.s3.options.CopyObjectOptions doesn't override org.jclouds.http.options.BaseHttpRequestOptions.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 73 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.jclouds.s3.options.PutBucketOptions doesn't override org.jclouds.http.options.BaseHttpRequestOptions.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 57 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.jclouds.s3.options.PutObjectOptions doesn't override org.jclouds.http.options.BaseHttpRequestOptions.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 58 | Medium |