unused imports

This commit is contained in:
Adrian Cole 2012-09-15 23:48:35 -07:00
parent b951276ec3
commit dcca748a79
7 changed files with 9 additions and 13 deletions

View File

@ -60,7 +60,6 @@ import org.jclouds.io.payloads.PhantomPayload;
import org.jclouds.io.payloads.StringPayload;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import com.google.common.io.ByteStreams;

View File

@ -46,7 +46,6 @@ import org.jclouds.filesystem.utils.TestUtils;
import org.jclouds.io.payloads.FilePayload;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import com.google.common.io.ByteStreams;

View File

@ -20,7 +20,6 @@ package org.jclouds.openstack.nova.domain;
import static com.google.common.base.Preconditions.checkNotNull;
import java.beans.ConstructorProperties;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.List;

View File

@ -49,8 +49,8 @@ import org.jclouds.compute.reference.ComputeServiceConstants;
import org.jclouds.compute.reference.ComputeServiceConstants.Timeouts;
import org.jclouds.domain.Location;
import org.jclouds.domain.LoginCredentials;
import org.jclouds.glesys.GleSYSAsyncApi;
import org.jclouds.glesys.GleSYSApi;
import org.jclouds.glesys.GleSYSAsyncApi;
import org.jclouds.glesys.compute.options.GleSYSTemplateOptions;
import org.jclouds.glesys.domain.AllowedArgumentsForCreateServer;
import org.jclouds.glesys.domain.OSTemplate;

View File

@ -74,8 +74,7 @@ public class ParseOsFamilyVersion64BitFromImageName implements Function<String,
Matcher osFamilyVersionMatcher = OSFAMILY_VERSION.matcher(input);
if (osFamilyVersionMatcher.find()) {
OsFamily fam = OsFamily.fromValue(osFamilyVersionMatcher.group(1).toLowerCase());
switch (fam) {
case UNRECOGNIZED:
if (fam == OsFamily.UNRECOGNIZED ) {
return new OsFamilyVersion64Bit(OsFamily.UNRECOGNIZED, version, is64Bit);
}
return new OsFamilyVersion64Bit(fam, ComputeServiceUtils.parseVersionOrReturnEmptyString(fam,

View File

@ -20,18 +20,18 @@ package org.jclouds.glesys.config;
import java.util.Map;
import org.jclouds.glesys.GleSYSAsyncApi;
import org.jclouds.glesys.GleSYSApi;
import org.jclouds.glesys.features.ArchiveAsyncApi;
import org.jclouds.glesys.GleSYSAsyncApi;
import org.jclouds.glesys.features.ArchiveApi;
import org.jclouds.glesys.features.DomainAsyncApi;
import org.jclouds.glesys.features.ArchiveAsyncApi;
import org.jclouds.glesys.features.DomainApi;
import org.jclouds.glesys.features.EmailAsyncApi;
import org.jclouds.glesys.features.DomainAsyncApi;
import org.jclouds.glesys.features.EmailApi;
import org.jclouds.glesys.features.IpAsyncApi;
import org.jclouds.glesys.features.EmailAsyncApi;
import org.jclouds.glesys.features.IpApi;
import org.jclouds.glesys.features.ServerAsyncApi;
import org.jclouds.glesys.features.IpAsyncApi;
import org.jclouds.glesys.features.ServerApi;
import org.jclouds.glesys.features.ServerAsyncApi;
import org.jclouds.glesys.handlers.GleSYSErrorHandler;
import org.jclouds.http.HttpErrorHandler;
import org.jclouds.http.HttpRetryHandler;

View File

@ -23,8 +23,8 @@ import static org.testng.Assert.assertTrue;
import java.util.concurrent.TimeUnit;
import org.jclouds.compute.internal.BaseComputeServiceContextLiveTest;
import org.jclouds.glesys.GleSYSAsyncApi;
import org.jclouds.glesys.GleSYSApi;
import org.jclouds.glesys.GleSYSAsyncApi;
import org.jclouds.glesys.features.DomainApi;
import org.jclouds.predicates.RetryablePredicate;
import org.jclouds.rest.RestContext;