Address Checkstyle violations

This commit is contained in:
Andrew Gaul 2014-07-01 09:33:46 -07:00
parent 5118e16660
commit 7f8e6a03d7
4 changed files with 2 additions and 4 deletions

View File

@ -234,7 +234,7 @@ public class BlockDeviceMapping implements Comparable<BlockDeviceMapping> {
return false; return false;
} else if (!volumeType.equals(other.volumeType)) } else if (!volumeType.equals(other.volumeType))
return false; return false;
if (iops== null) { if (iops == null) {
if (other.iops != null) if (other.iops != null)
return false; return false;
} else if (!iops.equals(other.iops)) } else if (!iops.equals(other.iops))

View File

@ -347,6 +347,6 @@ public class Volume implements Comparable<Volume> {
return "Volume [attachments=" + attachments + ", availabilityZone=" + availabilityZone + ", createTime=" return "Volume [attachments=" + attachments + ", availabilityZone=" + availabilityZone + ", createTime="
+ createTime + ", id=" + id + ", region=" + region + ", size=" + size + ", snapshotId=" + snapshotId + createTime + ", id=" + id + ", region=" + region + ", size=" + size + ", snapshotId=" + snapshotId
+ ", status=" + status + ", volumeType=" + volumeType + ", iops=" + iops + ", encrypted=" + encrypted + ", status=" + status + ", volumeType=" + volumeType + ", iops=" + iops + ", encrypted=" + encrypted
+"]"; + "]";
} }
} }

View File

@ -33,7 +33,6 @@ import java.util.Iterator;
import java.util.Properties; import java.util.Properties;
import java.util.Set; import java.util.Set;
import org.jclouds.Constants;
import org.jclouds.aws.AWSResponseException; import org.jclouds.aws.AWSResponseException;
import org.jclouds.compute.RunNodesException; import org.jclouds.compute.RunNodesException;
import org.jclouds.compute.domain.Template; import org.jclouds.compute.domain.Template;

View File

@ -31,7 +31,6 @@ import org.jclouds.http.HttpResponse;
import org.jclouds.http.handlers.BackoffLimitedRetryHandler; import org.jclouds.http.handlers.BackoffLimitedRetryHandler;
import org.jclouds.io.Payloads; import org.jclouds.io.Payloads;
import org.jclouds.openstack.keystone.v1_1.domain.Auth; import org.jclouds.openstack.keystone.v1_1.domain.Auth;
import org.jclouds.openstack.keystone.v1_1.handlers.RetryOnRenew;
import org.testng.annotations.Test; import org.testng.annotations.Test;
import com.google.common.cache.LoadingCache; import com.google.common.cache.LoadingCache;