From 7f8e6a03d7a244ff61bb2a7979ffcd6324838ab5 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Tue, 1 Jul 2014 09:33:46 -0700 Subject: [PATCH] Address Checkstyle violations --- .../main/java/org/jclouds/ec2/domain/BlockDeviceMapping.java | 2 +- apis/ec2/src/main/java/org/jclouds/ec2/domain/Volume.java | 2 +- .../src/test/java/org/jclouds/ec2/features/AMIApiLiveTest.java | 1 - .../openstack/keystone/v1_1/handlers/RetryOnRenewTest.java | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/apis/ec2/src/main/java/org/jclouds/ec2/domain/BlockDeviceMapping.java b/apis/ec2/src/main/java/org/jclouds/ec2/domain/BlockDeviceMapping.java index fbf5f97c02..b270c3f5df 100644 --- a/apis/ec2/src/main/java/org/jclouds/ec2/domain/BlockDeviceMapping.java +++ b/apis/ec2/src/main/java/org/jclouds/ec2/domain/BlockDeviceMapping.java @@ -234,7 +234,7 @@ public class BlockDeviceMapping implements Comparable { return false; } else if (!volumeType.equals(other.volumeType)) return false; - if (iops== null) { + if (iops == null) { if (other.iops != null) return false; } else if (!iops.equals(other.iops)) diff --git a/apis/ec2/src/main/java/org/jclouds/ec2/domain/Volume.java b/apis/ec2/src/main/java/org/jclouds/ec2/domain/Volume.java index 1b8987aa04..76e40c1d2f 100644 --- a/apis/ec2/src/main/java/org/jclouds/ec2/domain/Volume.java +++ b/apis/ec2/src/main/java/org/jclouds/ec2/domain/Volume.java @@ -347,6 +347,6 @@ public class Volume implements Comparable { return "Volume [attachments=" + attachments + ", availabilityZone=" + availabilityZone + ", createTime=" + createTime + ", id=" + id + ", region=" + region + ", size=" + size + ", snapshotId=" + snapshotId + ", status=" + status + ", volumeType=" + volumeType + ", iops=" + iops + ", encrypted=" + encrypted - +"]"; + + "]"; } } diff --git a/apis/ec2/src/test/java/org/jclouds/ec2/features/AMIApiLiveTest.java b/apis/ec2/src/test/java/org/jclouds/ec2/features/AMIApiLiveTest.java index a3fda97327..367de3fcbf 100644 --- a/apis/ec2/src/test/java/org/jclouds/ec2/features/AMIApiLiveTest.java +++ b/apis/ec2/src/test/java/org/jclouds/ec2/features/AMIApiLiveTest.java @@ -33,7 +33,6 @@ import java.util.Iterator; import java.util.Properties; import java.util.Set; -import org.jclouds.Constants; import org.jclouds.aws.AWSResponseException; import org.jclouds.compute.RunNodesException; import org.jclouds.compute.domain.Template; diff --git a/common/openstack/src/test/java/org/jclouds/openstack/keystone/v1_1/handlers/RetryOnRenewTest.java b/common/openstack/src/test/java/org/jclouds/openstack/keystone/v1_1/handlers/RetryOnRenewTest.java index c7126dfb9f..ec3d88d739 100644 --- a/common/openstack/src/test/java/org/jclouds/openstack/keystone/v1_1/handlers/RetryOnRenewTest.java +++ b/common/openstack/src/test/java/org/jclouds/openstack/keystone/v1_1/handlers/RetryOnRenewTest.java @@ -31,7 +31,6 @@ import org.jclouds.http.HttpResponse; import org.jclouds.http.handlers.BackoffLimitedRetryHandler; import org.jclouds.io.Payloads; import org.jclouds.openstack.keystone.v1_1.domain.Auth; -import org.jclouds.openstack.keystone.v1_1.handlers.RetryOnRenew; import org.testng.annotations.Test; import com.google.common.cache.LoadingCache;