Skip to content
Permalink
Browse files
Fixes more checkstyle violations.
  • Loading branch information
zack-shoylev committed Apr 1, 2014
1 parent 10ae4ba commit a1d6725b08dc4b434957d185ccba0f758ad2c678
Show file tree
Hide file tree
Showing 37 changed files with 2 additions and 54 deletions.
@@ -16,8 +16,6 @@
*/
package org.jclouds.openstack.swift.v1;

import org.jclouds.http.HttpCommand;
import org.jclouds.http.HttpResponse;
import org.jclouds.rest.ResourceNotFoundException;

/**
@@ -23,7 +23,6 @@
import java.net.URI;
import java.util.Properties;

import org.jclouds.apis.ApiMetadata;
import org.jclouds.openstack.keystone.v2_0.config.AuthenticationApiModule;
import org.jclouds.openstack.keystone.v2_0.config.CredentialTypes;
import org.jclouds.openstack.keystone.v2_0.config.KeystoneAuthenticationModule;
@@ -34,7 +33,6 @@
import org.jclouds.openstack.swift.v1.config.SwiftHttpApiModule;
import org.jclouds.openstack.swift.v1.config.SwiftTypeAdapters;
import org.jclouds.openstack.v2_0.ServiceType;
import org.jclouds.providers.ProviderMetadata;
import org.jclouds.rest.internal.BaseHttpApiMetadata;

import com.google.common.collect.ImmutableSet;
@@ -23,8 +23,6 @@
import java.util.Map;
import java.util.Map.Entry;

import org.jclouds.openstack.swift.v1.features.AccountApi;

import com.google.common.base.Objects;
import com.google.common.base.Objects.ToStringHelper;
import com.google.common.base.Optional;
@@ -22,8 +22,6 @@

import java.util.Map;

import org.jclouds.openstack.swift.v1.features.BulkApi;

import com.google.common.base.Objects;

/**
@@ -24,9 +24,6 @@
import java.util.Map;
import java.util.Map.Entry;

import org.jclouds.openstack.swift.v1.features.ContainerApi;
import org.jclouds.openstack.swift.v1.options.CreateContainerOptions;

import com.google.common.base.Objects;
import com.google.common.base.Objects.ToStringHelper;
import com.google.common.base.Optional;
@@ -22,8 +22,6 @@

import java.util.Map;

import org.jclouds.openstack.swift.v1.features.BulkApi;

import com.google.common.base.Objects;

/**
@@ -20,8 +20,6 @@

import java.util.List;

import org.jclouds.openstack.swift.v1.features.ObjectApi;

import com.google.common.collect.ForwardingList;

/**
@@ -20,8 +20,6 @@
import static com.google.common.base.Objects.toStringHelper;
import static com.google.common.base.Preconditions.checkNotNull;

import org.jclouds.openstack.swift.v1.features.StaticLargeObjectApi;

import com.google.common.base.Objects;

/**
@@ -26,7 +26,6 @@
import java.util.Map.Entry;

import org.jclouds.io.Payload;
import org.jclouds.openstack.swift.v1.features.ObjectApi;

import com.google.common.base.Objects;
import com.google.common.base.Objects.ToStringHelper;
@@ -39,7 +39,6 @@
import org.jclouds.io.Payload;
import org.jclouds.javax.annotation.Nullable;
import org.jclouds.openstack.keystone.v2_0.filters.AuthenticateRequest;
import org.jclouds.openstack.swift.v1.CopyObjectException;
import org.jclouds.openstack.swift.v1.binders.BindMetadataToHeaders.BindObjectMetadataToHeaders;
import org.jclouds.openstack.swift.v1.binders.BindMetadataToHeaders.BindRemoveObjectMetadataToHeaders;
import org.jclouds.openstack.swift.v1.binders.SetPayload;
@@ -32,7 +32,6 @@
import org.jclouds.openstack.keystone.v2_0.filters.AuthenticateRequest;
import org.jclouds.openstack.swift.v1.binders.BindMetadataToHeaders.BindObjectMetadataToHeaders;
import org.jclouds.openstack.swift.v1.domain.Segment;
import org.jclouds.openstack.swift.v1.domain.SwiftObject;
import org.jclouds.openstack.swift.v1.functions.ETagHeader;
import org.jclouds.rest.annotations.BinderParam;
import org.jclouds.rest.annotations.Fallback;
@@ -25,8 +25,6 @@

import org.jclouds.http.options.BaseHttpRequestOptions;
import org.jclouds.openstack.swift.v1.binders.BindMetadataToHeaders;
import org.jclouds.openstack.swift.v1.domain.Container;
import org.jclouds.openstack.swift.v1.features.ContainerApi;

/**
* Options for creating a {@link Container}.
@@ -20,7 +20,6 @@
import static com.google.common.base.Preconditions.checkState;

import org.jclouds.http.options.BaseHttpRequestOptions;
import org.jclouds.openstack.swift.v1.features.ContainerApi;

/**
* Options for listing containers.
@@ -28,7 +28,6 @@
import com.google.common.base.Objects.ToStringHelper;
import com.google.common.base.Optional;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Maps;

/**
* Auto Scale ScalingPolicy. This class is used for requests.
@@ -22,7 +22,6 @@
import java.net.URI;
import java.util.Properties;

import org.jclouds.apis.ApiMetadata;
import org.jclouds.openstack.keystone.v2_0.config.CredentialTypes;
import org.jclouds.openstack.keystone.v2_0.config.KeystoneAuthenticationModule.ZoneModule;
import org.jclouds.rackspace.cloudbigdata.v1.config.CloudBigDataHttpApiModule;
@@ -23,7 +23,6 @@
import java.util.Date;

import org.jclouds.openstack.v2_0.domain.Link;
import org.jclouds.rackspace.cloudbigdata.v1.features.ClusterApi;

import com.google.common.base.Objects;
import com.google.common.base.Objects.ToStringHelper;
@@ -21,8 +21,6 @@
import java.beans.ConstructorProperties;
import java.net.URI;

import org.jclouds.rackspace.cloudbigdata.v1.features.ClusterApi;

import com.google.common.base.Objects;
import com.google.common.base.Objects.ToStringHelper;

@@ -22,8 +22,6 @@

import javax.inject.Named;

import org.jclouds.rackspace.cloudbigdata.v1.features.ProfileApi;

import com.google.common.base.Objects;
import com.google.common.base.Objects.ToStringHelper;
import com.google.common.collect.ImmutableList;
@@ -21,7 +21,6 @@
import java.beans.ConstructorProperties;

import org.jclouds.openstack.v2_0.domain.Link;
import org.jclouds.rackspace.cloudbigdata.v1.features.ProfileApi;

import com.google.common.base.Objects;
import com.google.common.base.Objects.ToStringHelper;
@@ -48,7 +48,6 @@
* @author Zack Shoylev
*/
@Test(groups = "live", testName = "ProfileApiLiveTest", singleThreaded = true)
@SuppressWarnings("javadoc")
public class ClusterApiLiveTest extends BaseCloudBigDataApiLiveTest {

@Override
@@ -42,7 +42,6 @@
*
* @author Zack Shoylev
*/
@SuppressWarnings("javadoc")
@Test
public class ClusterApiMockTest extends BaseCloudBigDataApiMockTest {

@@ -38,7 +38,6 @@
* @author Zack Shoylev
*/
@Test(groups = "live", testName = "ProfileApiLiveTest", singleThreaded = true)
@SuppressWarnings("javadoc")
public class ProfileApiLiveTest extends BaseCloudBigDataApiLiveTest {

@Override
@@ -40,7 +40,6 @@
*
* @author Zack Shoylev
*/
@SuppressWarnings("javadoc")
@Test
public class ProfileApiMockTest extends BaseCloudBigDataApiMockTest {

@@ -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;

@@ -23,7 +23,6 @@
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 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.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 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.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 void testNullRequest() {
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 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 @@
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 void testUpdate() throws Exception {
}
}

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;

/**

0 comments on commit a1d6725

Please sign in to comment.