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 | 180 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unchecked/unconfirmed cast from org.jclouds.http.HttpRequest to org.jclouds.rest.internal.GeneratedHttpRequest in org.jclouds.s3.blobstore.functions.BlobToObjectMetadata.setContext(HttpRequest) | STYLE | BC_UNCONFIRMED_CAST | 62 | Medium |
| 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.ObjectMetadataBuilder.lastModified(Date) may expose internal representation by storing an externally mutable object into ObjectMetadataBuilder.lastModified | MALICIOUS_CODE | EI_EXPOSE_REP2 | 81 | 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 | 119 | Medium |
| new org.jclouds.s3.domain.internal.BucketListObjectMetadata(String, String, URI, 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 | 59 | 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 | 106 | 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 | 48 | Medium |
| 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 | 131 | 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 | 195 | 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.SIGNED_PARAMETERS isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 90 | 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 | 79 | 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 | 61 | Medium |