mirror of https://github.com/apache/jclouds.git
Fixes more checkstyle violations.
This commit is contained in:
parent
07d234a09f
commit
56c9a05369
|
@ -23,7 +23,6 @@ import static org.jclouds.reflect.Reflection2.typeToken;
|
|||
import java.net.URI;
|
||||
import java.util.Properties;
|
||||
|
||||
import org.jclouds.apis.ApiMetadata;
|
||||
import org.jclouds.openstack.keystone.v2_0.config.KeystoneAuthenticationModule.RegionModule;
|
||||
import org.jclouds.openstack.swift.v1.SwiftApiMetadata;
|
||||
import org.jclouds.openstack.swift.v1.blobstore.RegionScopedBlobStoreContext;
|
||||
|
|
|
@ -24,7 +24,6 @@ import java.util.List;
|
|||
import javax.inject.Singleton;
|
||||
|
||||
import org.jclouds.http.HttpRequest;
|
||||
import org.jclouds.rackspace.cloudfiles.v1.features.CDNApi;
|
||||
import org.jclouds.rackspace.cloudfiles.v1.reference.CloudFilesHeaders;
|
||||
import org.jclouds.rest.Binder;
|
||||
|
||||
|
|
|
@ -40,7 +40,6 @@ import org.jclouds.Fallbacks.NullOnNotFoundOr404;
|
|||
import org.jclouds.javax.annotation.Nullable;
|
||||
import org.jclouds.openstack.keystone.v2_0.filters.AuthenticateRequest;
|
||||
import org.jclouds.openstack.swift.v1.options.ListContainerOptions;
|
||||
import org.jclouds.rackspace.cloudfiles.v1.CloudFilesApi;
|
||||
import org.jclouds.rackspace.cloudfiles.v1.binders.BindCDNPurgeEmailAddressesToHeaders;
|
||||
import org.jclouds.rackspace.cloudfiles.v1.domain.CDNContainer;
|
||||
import org.jclouds.rackspace.cloudfiles.v1.functions.ParseCDNContainerFromHeaders;
|
||||
|
|
|
@ -21,7 +21,6 @@ import static com.google.common.base.Preconditions.checkNotNull;
|
|||
import java.net.URI;
|
||||
|
||||
import org.jclouds.http.HttpResponse;
|
||||
import org.jclouds.rackspace.cloudfiles.v1.domain.CDNContainer;
|
||||
import org.jclouds.rackspace.cloudfiles.v1.reference.CloudFilesHeaders;
|
||||
|
||||
import com.google.common.base.Function;
|
||||
|
|
|
@ -26,10 +26,7 @@ import javax.inject.Inject;
|
|||
import javax.inject.Singleton;
|
||||
|
||||
import org.jclouds.javax.annotation.Nullable;
|
||||
import org.jclouds.location.functions.RegionToEndpoint;
|
||||
import org.jclouds.location.suppliers.RegionIdToURISupplier;
|
||||
import org.jclouds.rackspace.cloudfiles.v1.CloudFilesApi;
|
||||
import org.jclouds.rackspace.cloudfiles.v1.features.CDNApi;
|
||||
import org.jclouds.rackspace.cloudidentity.v2_0.ServiceType;
|
||||
import org.jclouds.rest.annotations.ApiVersion;
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ public class BindCDNPurgeEmailAddressesToHeadersMockTest extends BaseOpenStackMo
|
|||
binder.bindToRequest(null, emails);
|
||||
}
|
||||
|
||||
private static final HttpRequest purgeRequest() {
|
||||
private static HttpRequest purgeRequest() {
|
||||
return HttpRequest.builder()
|
||||
.method("DELETE")
|
||||
.endpoint("https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_XXXXXX/")
|
||||
|
|
|
@ -20,7 +20,6 @@ import static org.jclouds.rackspace.cloudidentity.v2_0.config.CloudIdentityCrede
|
|||
|
||||
import java.util.Properties;
|
||||
|
||||
import org.jclouds.openstack.swift.v1.blobstore.RegionScopedBlobStoreContext;
|
||||
import org.jclouds.openstack.swift.v1.blobstore.RegionScopedBlobStoreContextLiveTest;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
|
|
|
@ -19,9 +19,7 @@ package org.jclouds.rackspace.cloudfiles.v1.features;
|
|||
import static org.testng.Assert.assertTrue;
|
||||
|
||||
import org.jclouds.openstack.swift.v1.domain.Account;
|
||||
import org.jclouds.openstack.swift.v1.features.AccountApi;
|
||||
import org.jclouds.openstack.swift.v1.features.AccountApiLiveTest;
|
||||
import org.jclouds.rackspace.cloudfiles.v1.CloudFilesApi;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
/**
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
package org.jclouds.rackspace.cloudfiles.v1.features;
|
||||
|
||||
import org.jclouds.openstack.swift.v1.features.BulkApiLiveTest;
|
||||
import org.jclouds.rackspace.cloudfiles.v1.CloudFilesApi;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
/**
|
||||
|
|
|
@ -262,7 +262,7 @@ public class CloudFilesCDNApiMockTest extends BaseOpenStackMockTest<CloudFilesAp
|
|||
}
|
||||
}
|
||||
|
||||
private static final void checkCDNContainer(CDNContainer cdnContainer) {
|
||||
private static void checkCDNContainer(CDNContainer cdnContainer) {
|
||||
assertNotNull(cdnContainer.getName());
|
||||
assertNotNull(cdnContainer.isEnabled());
|
||||
assertNotNull(cdnContainer.isLogRetentionEnabled());
|
||||
|
|
|
@ -16,9 +16,7 @@
|
|||
*/
|
||||
package org.jclouds.rackspace.cloudfiles.v1.features;
|
||||
|
||||
import org.jclouds.openstack.swift.v1.features.ContainerApi;
|
||||
import org.jclouds.openstack.swift.v1.features.ContainerApiLiveTest;
|
||||
import org.jclouds.rackspace.cloudfiles.v1.CloudFilesApi;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
/**
|
||||
|
|
|
@ -16,9 +16,7 @@
|
|||
*/
|
||||
package org.jclouds.rackspace.cloudfiles.v1.features;
|
||||
|
||||
import org.jclouds.openstack.swift.v1.features.ObjectApi;
|
||||
import org.jclouds.openstack.swift.v1.features.ObjectApiLiveTest;
|
||||
import org.jclouds.rackspace.cloudfiles.v1.CloudFilesApi;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
/**
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
package org.jclouds.rackspace.cloudfiles.uk;
|
||||
|
||||
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
||||
import org.jclouds.rackspace.cloudfiles.uk.CloudFilesUKProviderMetadata;
|
||||
import org.jclouds.rackspace.cloudfiles.v1.CloudFilesApiMetadata;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
package org.jclouds.rackspace.cloudfiles.us;
|
||||
|
||||
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
||||
import org.jclouds.rackspace.cloudfiles.us.CloudFilesUSProviderMetadata;
|
||||
import org.jclouds.rackspace.cloudfiles.v1.CloudFilesApiMetadata;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
|
|
Loading…
Reference in New Issue