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.aws.ec2.compute.AWSEC2TemplateOptions.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 59 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Field AWSEC2CreateNodesInGroupThenAddToSet.logger masks field in superclass org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet | CORRECTNESS | MF_CLASS_MASKS_FIELD | 61 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.aws.ec2.domain.LaunchSpecification.getUserData() may expose internal representation by returning LaunchSpecification.userData | MALICIOUS_CODE | EI_EXPOSE_REP | 305 | Medium |
| new org.jclouds.aws.ec2.domain.LaunchSpecification(String, String, String, String, String, String, Map, Iterable, Boolean, Set, Set, byte[]) may expose internal representation by storing an externally mutable object into LaunchSpecification.userData | MALICIOUS_CODE | EI_EXPOSE_REP2 | 223 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.aws.ec2.domain.LaunchSpecification$Builder.userData(byte[]) may expose internal representation by storing an externally mutable object into LaunchSpecification$Builder.userData | MALICIOUS_CODE | EI_EXPOSE_REP2 | 176 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.aws.ec2.domain.RegionNameAndPublicKeyMaterial doesn't override org.jclouds.ec2.compute.domain.RegionAndName.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 31 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.aws.ec2.domain.Spot.getTimestamp() may expose internal representation by returning Spot.timestamp | MALICIOUS_CODE | EI_EXPOSE_REP | 112 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.aws.ec2.domain.Spot$Builder.timestamp(Date) may expose internal representation by storing an externally mutable object into Spot$Builder.timestamp | MALICIOUS_CODE | EI_EXPOSE_REP2 | 72 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.aws.ec2.domain.SpotInstanceRequest.getCreateTime() may expose internal representation by returning SpotInstanceRequest.createTime | MALICIOUS_CODE | EI_EXPOSE_REP | 260 | Medium |
| org.jclouds.aws.ec2.domain.SpotInstanceRequest.getValidFrom() may expose internal representation by returning SpotInstanceRequest.validFrom | MALICIOUS_CODE | EI_EXPOSE_REP | 304 | Medium |
| org.jclouds.aws.ec2.domain.SpotInstanceRequest.getValidUntil() may expose internal representation by returning SpotInstanceRequest.validUntil | MALICIOUS_CODE | EI_EXPOSE_REP | 308 | Medium |
| new org.jclouds.aws.ec2.domain.SpotInstanceRequest(String, String, String, Date, String, String, String, String, LaunchSpecification, String, String, float, SpotInstanceRequest$State, SpotInstanceRequest$Type, Date, Date) may expose internal representation by storing an externally mutable object into SpotInstanceRequest.createTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 229 | Medium |
| new org.jclouds.aws.ec2.domain.SpotInstanceRequest(String, String, String, Date, String, String, String, String, LaunchSpecification, String, String, float, SpotInstanceRequest$State, SpotInstanceRequest$Type, Date, Date) may expose internal representation by storing an externally mutable object into SpotInstanceRequest.validFrom | MALICIOUS_CODE | EI_EXPOSE_REP2 | 240 | Medium |
| new org.jclouds.aws.ec2.domain.SpotInstanceRequest(String, String, String, Date, String, String, String, String, LaunchSpecification, String, String, float, SpotInstanceRequest$State, SpotInstanceRequest$Type, Date, Date) may expose internal representation by storing an externally mutable object into SpotInstanceRequest.validUntil | MALICIOUS_CODE | EI_EXPOSE_REP2 | 241 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.aws.ec2.domain.SpotInstanceRequest$Builder.createTime(Date) may expose internal representation by storing an externally mutable object into SpotInstanceRequest$Builder.createTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 92 | Medium |
| org.jclouds.aws.ec2.domain.SpotInstanceRequest$Builder.validFrom(Date) may expose internal representation by storing an externally mutable object into SpotInstanceRequest$Builder.validFrom | MALICIOUS_CODE | EI_EXPOSE_REP2 | 147 | Medium |
| org.jclouds.aws.ec2.domain.SpotInstanceRequest$Builder.validUntil(Date) may expose internal representation by storing an externally mutable object into SpotInstanceRequest$Builder.validUntil | MALICIOUS_CODE | EI_EXPOSE_REP2 | 152 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.aws.ec2.options.AWSRunInstancesOptions doesn't override org.jclouds.http.options.BaseHttpRequestOptions.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 50 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.aws.ec2.xml.LaunchSpecificationHandler.endElement(String, String, String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 120 | Medium |