From ac5559ca9e26d6ebb3e1bd00740a05b19b4fdf3a Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Tue, 22 Oct 2013 16:44:34 -0700 Subject: [PATCH] Address Checkstyle violations --- .../org/jclouds/openstack/cinder/v1/domain/VolumeQuota.java | 4 ++-- .../openstack/keystone/v2_0/handlers/RetryOnRenew.java | 2 +- .../openstack/nova/v2_0/extensions/AvailabilityZoneAPI.java | 2 +- .../nova/v2_0/extensions/AvailabilityZoneAsyncApi.java | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/domain/VolumeQuota.java b/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/domain/VolumeQuota.java index 31436b393f..2b8f801385 100644 --- a/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/domain/VolumeQuota.java +++ b/apis/openstack-cinder/src/main/java/org/jclouds/openstack/cinder/v1/domain/VolumeQuota.java @@ -102,7 +102,7 @@ public class VolumeQuota { return new ConcreteBuilder().fromVolumeQuota(this); } - public static abstract class Builder> { + public abstract static class Builder> { protected abstract T self(); protected String id; @@ -164,4 +164,4 @@ public class VolumeQuota { return this; } } -} \ No newline at end of file +} diff --git a/apis/openstack-keystone/src/main/java/org/jclouds/openstack/keystone/v2_0/handlers/RetryOnRenew.java b/apis/openstack-keystone/src/main/java/org/jclouds/openstack/keystone/v2_0/handlers/RetryOnRenew.java index 0739521e2d..77646a972f 100644 --- a/apis/openstack-keystone/src/main/java/org/jclouds/openstack/keystone/v2_0/handlers/RetryOnRenew.java +++ b/apis/openstack-keystone/src/main/java/org/jclouds/openstack/keystone/v2_0/handlers/RetryOnRenew.java @@ -52,7 +52,7 @@ public class RetryOnRenew implements HttpRetryHandler { protected Logger logger = Logger.NULL; @VisibleForTesting - final static int NUM_RETRIES = 5; + static final int NUM_RETRIES = 5; private final LoadingCache authenticationResponseCache; diff --git a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/AvailabilityZoneAPI.java b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/AvailabilityZoneAPI.java index d92804f7c6..d248681f18 100644 --- a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/AvailabilityZoneAPI.java +++ b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/AvailabilityZoneAPI.java @@ -37,4 +37,4 @@ public interface AvailabilityZoneAPI { */ FluentIterable list(); -} \ No newline at end of file +} diff --git a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/AvailabilityZoneAsyncApi.java b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/AvailabilityZoneAsyncApi.java index 522fb87288..d85f305976 100644 --- a/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/AvailabilityZoneAsyncApi.java +++ b/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/AvailabilityZoneAsyncApi.java @@ -55,4 +55,4 @@ public interface AvailabilityZoneAsyncApi { @Fallback(Fallbacks.EmptyFluentIterableOnNotFoundOr404.class) ListenableFuture> list(); -} \ No newline at end of file +}