mirror of https://github.com/apache/jclouds.git
Remove redundant imports
Also enforce no new ones via Checkstyle
This commit is contained in:
parent
8bf23069d9
commit
0398276be3
|
@ -37,7 +37,6 @@ import org.jclouds.cloudstack.domain.ZoneSecurityGroupNamePortsCidrs;
|
||||||
import org.jclouds.cloudstack.features.AsyncJobApi;
|
import org.jclouds.cloudstack.features.AsyncJobApi;
|
||||||
import org.jclouds.cloudstack.features.SecurityGroupApi;
|
import org.jclouds.cloudstack.features.SecurityGroupApi;
|
||||||
import org.jclouds.cloudstack.features.ZoneApi;
|
import org.jclouds.cloudstack.features.ZoneApi;
|
||||||
import org.jclouds.cloudstack.functions.ZoneIdToZone;
|
|
||||||
import org.jclouds.cloudstack.predicates.JobComplete;
|
import org.jclouds.cloudstack.predicates.JobComplete;
|
||||||
import org.jclouds.cloudstack.suppliers.ZoneIdToZoneSupplier;
|
import org.jclouds.cloudstack.suppliers.ZoneIdToZoneSupplier;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
package org.jclouds.rackspace.cloudidentity.v2_0;
|
package org.jclouds.rackspace.cloudidentity.v2_0;
|
||||||
|
|
||||||
import org.jclouds.View;
|
import org.jclouds.View;
|
||||||
import org.jclouds.rackspace.cloudidentity.v2_0.CloudIdentityApiMetadata;
|
|
||||||
import org.jclouds.rest.internal.BaseRestApiMetadataTest;
|
import org.jclouds.rest.internal.BaseRestApiMetadataTest;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
package org.jclouds.rackspace.cloudloadbalancers.v1;
|
package org.jclouds.rackspace.cloudloadbalancers.v1;
|
||||||
|
|
||||||
import org.jclouds.loadbalancer.internal.BaseLoadBalancerServiceApiMetadataTest;
|
import org.jclouds.loadbalancer.internal.BaseLoadBalancerServiceApiMetadataTest;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.CloudLoadBalancersApiMetadata;
|
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -42,7 +42,6 @@ import org.jclouds.rackspace.cloudloadbalancers.v1.domain.UpdateNode;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.AddNode;
|
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.AddNode;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.LoadBalancer.Status;
|
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.LoadBalancer.Status;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.VirtualIP.Type;
|
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.VirtualIP.Type;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.features.LoadBalancerApi;
|
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.internal.BaseCloudLoadBalancersApiLiveTest;
|
import org.jclouds.rackspace.cloudloadbalancers.v1.internal.BaseCloudLoadBalancersApiLiveTest;
|
||||||
import org.testng.annotations.AfterGroups;
|
import org.testng.annotations.AfterGroups;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
|
@ -36,8 +36,6 @@ import org.jclouds.rackspace.cloudloadbalancers.v1.domain.VirtualIPWithId;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.HealthMonitor.Type;
|
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.HealthMonitor.Type;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.LoadBalancer.Status;
|
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.LoadBalancer.Status;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.internal.BaseLoadBalancer.Algorithm;
|
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.internal.BaseLoadBalancer.Algorithm;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.functions.ConvertLB;
|
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.functions.ParseLoadBalancer;
|
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
import com.google.common.base.Function;
|
import com.google.common.base.Function;
|
||||||
|
|
|
@ -23,8 +23,6 @@ import org.jclouds.http.HttpResponse;
|
||||||
import org.jclouds.json.BaseItemParserTest;
|
import org.jclouds.json.BaseItemParserTest;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.LoadBalancer;
|
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.LoadBalancer;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.LoadBalancer.Status;
|
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.LoadBalancer.Status;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.functions.ConvertLB;
|
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.functions.ParseLoadBalancer;
|
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
import com.google.common.base.Function;
|
import com.google.common.base.Function;
|
||||||
|
|
|
@ -29,8 +29,6 @@ import org.jclouds.rackspace.cloudloadbalancers.v1.domain.VirtualIP;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.VirtualIPWithId;
|
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.VirtualIPWithId;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.LoadBalancer.Status;
|
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.LoadBalancer.Status;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.internal.BaseLoadBalancer.Algorithm;
|
import org.jclouds.rackspace.cloudloadbalancers.v1.domain.internal.BaseLoadBalancer.Algorithm;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.functions.ConvertLB;
|
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.functions.ParseLoadBalancers;
|
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
import com.google.common.base.Function;
|
import com.google.common.base.Function;
|
||||||
|
|
|
@ -20,7 +20,6 @@ import static org.jclouds.rackspace.cloudloadbalancers.v1.options.ListOptions.Bu
|
||||||
import static org.jclouds.rackspace.cloudloadbalancers.v1.options.ListOptions.Builder.marker;
|
import static org.jclouds.rackspace.cloudloadbalancers.v1.options.ListOptions.Builder.marker;
|
||||||
import static org.testng.Assert.assertEquals;
|
import static org.testng.Assert.assertEquals;
|
||||||
|
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.options.ListOptions;
|
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
|
|
|
@ -21,7 +21,6 @@ import static org.testng.Assert.assertEquals;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
|
|
||||||
import org.jclouds.aws.domain.SessionCredentials;
|
import org.jclouds.aws.domain.SessionCredentials;
|
||||||
import org.jclouds.aws.xml.SessionCredentialsHandler;
|
|
||||||
import org.jclouds.date.internal.SimpleDateFormatDateService;
|
import org.jclouds.date.internal.SimpleDateFormatDateService;
|
||||||
import org.jclouds.http.functions.BaseHandlerTest;
|
import org.jclouds.http.functions.BaseHandlerTest;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
|
@ -18,7 +18,6 @@ package org.jclouds.openstack.swift.options;
|
||||||
|
|
||||||
import static org.testng.Assert.assertEquals;
|
import static org.testng.Assert.assertEquals;
|
||||||
|
|
||||||
import org.jclouds.openstack.swift.options.CreateContainerOptions;
|
|
||||||
import org.jclouds.openstack.swift.reference.SwiftHeaders;
|
import org.jclouds.openstack.swift.reference.SwiftHeaders;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,6 @@ import java.net.URI;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import org.jclouds.compute.domain.ComputeType;
|
|
||||||
import org.jclouds.compute.domain.internal.ComputeMetadataImpl;
|
import org.jclouds.compute.domain.internal.ComputeMetadataImpl;
|
||||||
import org.jclouds.domain.Location;
|
import org.jclouds.domain.Location;
|
||||||
import org.jclouds.javax.annotation.Nullable;
|
import org.jclouds.javax.annotation.Nullable;
|
||||||
|
|
|
@ -18,7 +18,6 @@ package org.jclouds.compute.functions;
|
||||||
|
|
||||||
import static org.testng.Assert.assertEquals;
|
import static org.testng.Assert.assertEquals;
|
||||||
|
|
||||||
import org.jclouds.compute.functions.Sha512Crypt;
|
|
||||||
import org.testng.annotations.DataProvider;
|
import org.testng.annotations.DataProvider;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,6 @@ import java.util.Map;
|
||||||
|
|
||||||
import org.jclouds.crypto.Pems;
|
import org.jclouds.crypto.Pems;
|
||||||
import org.jclouds.io.Payloads;
|
import org.jclouds.io.Payloads;
|
||||||
import org.jclouds.ssh.SshKeys;
|
|
||||||
import org.jclouds.util.Strings2;
|
import org.jclouds.util.Strings2;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,6 @@ import org.jclouds.crypto.Crypto;
|
||||||
import org.jclouds.crypto.Pems;
|
import org.jclouds.crypto.Pems;
|
||||||
import org.jclouds.date.DateService;
|
import org.jclouds.date.DateService;
|
||||||
import org.jclouds.date.internal.SimpleDateFormatDateService;
|
import org.jclouds.date.internal.SimpleDateFormatDateService;
|
||||||
import org.jclouds.encryption.bouncycastle.BouncyCastleCrypto;
|
|
||||||
import org.jclouds.encryption.internal.JCECrypto;
|
import org.jclouds.encryption.internal.JCECrypto;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,6 @@ package org.jclouds.aws.ec2.features;
|
||||||
import static org.jclouds.ec2.domain.Tag.ResourceType.SECURITY_GROUP;
|
import static org.jclouds.ec2.domain.Tag.ResourceType.SECURITY_GROUP;
|
||||||
|
|
||||||
import org.jclouds.aws.ec2.AWSEC2Api;
|
import org.jclouds.aws.ec2.AWSEC2Api;
|
||||||
import org.jclouds.aws.ec2.features.AWSSecurityGroupApi;
|
|
||||||
import org.jclouds.ec2.features.internal.BaseTagApiLiveTest;
|
import org.jclouds.ec2.features.internal.BaseTagApiLiveTest;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
*/
|
*/
|
||||||
package org.jclouds.aws.route53;
|
package org.jclouds.aws.route53;
|
||||||
|
|
||||||
import org.jclouds.aws.route53.AWSRoute53ProviderMetadata;
|
|
||||||
import org.jclouds.route53.Route53ApiMetadata;
|
import org.jclouds.route53.Route53ApiMetadata;
|
||||||
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
*/
|
*/
|
||||||
package org.jclouds.aws.sts;
|
package org.jclouds.aws.sts;
|
||||||
|
|
||||||
import org.jclouds.aws.sts.AWSSTSProviderMetadata;
|
|
||||||
import org.jclouds.sts.STSApiMetadata;
|
import org.jclouds.sts.STSApiMetadata;
|
||||||
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
|
@ -16,8 +16,6 @@
|
||||||
*/
|
*/
|
||||||
package org.jclouds.dynect.v3;
|
package org.jclouds.dynect.v3;
|
||||||
|
|
||||||
import org.jclouds.dynect.v3.DynECTApiMetadata;
|
|
||||||
import org.jclouds.dynect.v3.DynECTProviderMetadata;
|
|
||||||
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@ package org.jclouds.rackspace.cloudblockstorage.uk;
|
||||||
|
|
||||||
import org.jclouds.openstack.cinder.v1.CinderApiMetadata;
|
import org.jclouds.openstack.cinder.v1.CinderApiMetadata;
|
||||||
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
||||||
import org.jclouds.rackspace.cloudblockstorage.uk.CloudBlockStorageUKProviderMetadata;
|
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
package org.jclouds.rackspace.cloudloadbalancers.uk;
|
package org.jclouds.rackspace.cloudloadbalancers.uk;
|
||||||
|
|
||||||
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.uk.CloudLoadBalancersUKProviderMetadata;
|
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.CloudLoadBalancersApiMetadata;
|
import org.jclouds.rackspace.cloudloadbalancers.v1.CloudLoadBalancersApiMetadata;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
package org.jclouds.rackspace.cloudloadbalancers.us;
|
package org.jclouds.rackspace.cloudloadbalancers.us;
|
||||||
|
|
||||||
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.us.CloudLoadBalancersUSProviderMetadata;
|
|
||||||
import org.jclouds.rackspace.cloudloadbalancers.v1.CloudLoadBalancersApiMetadata;
|
import org.jclouds.rackspace.cloudloadbalancers.v1.CloudLoadBalancersApiMetadata;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,6 @@ package org.jclouds.rackspace.cloudservers.uk;
|
||||||
|
|
||||||
import org.jclouds.openstack.nova.v2_0.NovaApiMetadata;
|
import org.jclouds.openstack.nova.v2_0.NovaApiMetadata;
|
||||||
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
||||||
import org.jclouds.rackspace.cloudservers.uk.CloudServersUKProviderMetadata;
|
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -35,7 +35,6 @@ package org.jclouds.rackspace.cloudservers.us;
|
||||||
|
|
||||||
import org.jclouds.openstack.nova.v2_0.NovaApiMetadata;
|
import org.jclouds.openstack.nova.v2_0.NovaApiMetadata;
|
||||||
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
import org.jclouds.providers.internal.BaseProviderMetadataTest;
|
||||||
import org.jclouds.rackspace.cloudservers.us.CloudServersUSProviderMetadata;
|
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
-->
|
-->
|
||||||
<module name="ModifierOrder"/>
|
<module name="ModifierOrder"/>
|
||||||
<module name="MultipleVariableDeclarations"/>
|
<module name="MultipleVariableDeclarations"/>
|
||||||
|
<module name="RedundantImport"/>
|
||||||
<module name="RedundantModifier">
|
<module name="RedundantModifier">
|
||||||
<!-- VARIABLE_DEF disabled -->
|
<!-- VARIABLE_DEF disabled -->
|
||||||
<property name="tokens" value="METHOD_DEF, ANNOTATION_FIELD_DEF, INTERFACE_DEF"/>
|
<property name="tokens" value="METHOD_DEF, ANNOTATION_FIELD_DEF, INTERFACE_DEF"/>
|
||||||
|
|
|
@ -23,7 +23,6 @@ import java.io.IOException;
|
||||||
import org.jclouds.scriptbuilder.InitScript;
|
import org.jclouds.scriptbuilder.InitScript;
|
||||||
import org.jclouds.scriptbuilder.domain.OsFamily;
|
import org.jclouds.scriptbuilder.domain.OsFamily;
|
||||||
import org.jclouds.scriptbuilder.domain.ShellToken;
|
import org.jclouds.scriptbuilder.domain.ShellToken;
|
||||||
import org.jclouds.scriptbuilder.statements.git.InstallGit;
|
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
import com.google.common.base.Charsets;
|
import com.google.common.base.Charsets;
|
||||||
|
|
Loading…
Reference in New Issue