diff --git a/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/config/GleSYSParserModule.java b/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/config/GleSYSParserModule.java index 8afe38d90a..3ea2df56e5 100644 --- a/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/config/GleSYSParserModule.java +++ b/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/config/GleSYSParserModule.java @@ -24,7 +24,6 @@ import java.util.Map; import javax.inject.Singleton; import org.jclouds.glesys.domain.ServerState; -import org.jclouds.glesys.domain.ServerUptime; import org.jclouds.glesys.functions.internal.GleSYSTypeAdapters; import org.jclouds.glesys.functions.internal.GlesysDateAdapter; import org.jclouds.json.config.GsonModule.DateAdapter; diff --git a/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/domain/ServerUptime.java b/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/domain/ServerUptime.java index a6f51805f1..eb44a065ed 100644 --- a/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/domain/ServerUptime.java +++ b/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/domain/ServerUptime.java @@ -18,15 +18,7 @@ */ package org.jclouds.glesys.domain; -import com.google.common.base.Joiner; import com.google.common.base.Objects; -import com.google.common.base.Splitter; -import com.google.common.collect.Iterables; -import com.google.gson.annotations.SerializedName; - -import java.util.ArrayList; -import java.util.List; -import java.util.concurrent.TimeUnit; /** * Represents an 'uptime' duration of server in a Glesys cloud diff --git a/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/features/ServerClient.java b/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/features/ServerClient.java index 7faba42254..053f4e36a2 100644 --- a/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/features/ServerClient.java +++ b/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/features/ServerClient.java @@ -20,11 +20,8 @@ package org.jclouds.glesys.features; import java.util.Map; import java.util.Set; -import java.util.SortedMap; import java.util.concurrent.TimeUnit; -import javax.ws.rs.FormParam; - import org.jclouds.concurrent.Timeout; import org.jclouds.glesys.domain.Server; import org.jclouds.glesys.domain.ServerAllowedArguments; diff --git a/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/functions/internal/GleSYSTypeAdapters.java b/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/functions/internal/GleSYSTypeAdapters.java index 33ed775a75..c10b27b9c8 100644 --- a/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/functions/internal/GleSYSTypeAdapters.java +++ b/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/functions/internal/GleSYSTypeAdapters.java @@ -21,7 +21,6 @@ package org.jclouds.glesys.functions.internal; import java.io.IOException; import org.jclouds.glesys.domain.ServerState; -import org.jclouds.glesys.domain.ServerUptime; import com.google.gson.TypeAdapter; import com.google.gson.stream.JsonReader; diff --git a/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/options/DomainAddOptions.java b/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/options/DomainAddOptions.java index 645b5977ae..02333034f3 100644 --- a/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/options/DomainAddOptions.java +++ b/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/options/DomainAddOptions.java @@ -18,7 +18,6 @@ */ package org.jclouds.glesys.options; -import org.jclouds.http.options.BaseHttpRequestOptions; /** * @author Adam Lowe diff --git a/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/reference/GleSYSConstants.java b/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/reference/GleSYSConstants.java index da0fb3c615..dc2408f58f 100644 --- a/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/reference/GleSYSConstants.java +++ b/sandbox-providers/glesys/src/main/java/org/jclouds/glesys/reference/GleSYSConstants.java @@ -1,13 +1,11 @@ package org.jclouds.glesys.reference; -import org.jclouds.compute.domain.ComputeMetadata; -import org.jclouds.compute.domain.Hardware; -import org.jclouds.compute.domain.Template; +import static com.google.common.base.Preconditions.checkNotNull; import java.util.regex.Matcher; import java.util.regex.Pattern; -import static com.google.common.base.Preconditions.checkNotNull; +import org.jclouds.compute.domain.ComputeMetadata; /** * Configuration properties and constants in GleSYS connections. diff --git a/sandbox-providers/glesys/src/test/java/org/jclouds/glesys/features/BaseGleSYSAsyncClientTest.java b/sandbox-providers/glesys/src/test/java/org/jclouds/glesys/features/BaseGleSYSAsyncClientTest.java index e52ef601a7..b592595826 100644 --- a/sandbox-providers/glesys/src/test/java/org/jclouds/glesys/features/BaseGleSYSAsyncClientTest.java +++ b/sandbox-providers/glesys/src/test/java/org/jclouds/glesys/features/BaseGleSYSAsyncClientTest.java @@ -19,29 +19,16 @@ package org.jclouds.glesys.features; import static org.testng.Assert.assertEquals; -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertNull; -import java.lang.reflect.Method; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; import java.util.Properties; import org.jclouds.glesys.GleSYSAsyncClient; import org.jclouds.glesys.GleSYSClient; import org.jclouds.http.HttpRequest; import org.jclouds.http.filters.BasicAuthentication; -import org.jclouds.http.functions.ParseFirstJsonValueNamed; -import org.jclouds.http.options.BaseHttpRequestOptions; import org.jclouds.rest.RestClientTest; import org.jclouds.rest.RestContextFactory; import org.jclouds.rest.RestContextSpec; -import org.jclouds.util.Strings2; - -import com.google.common.base.Splitter; -import com.google.common.collect.ImmutableSortedSet; -import com.google.common.collect.Maps; /** * @author Adrian Cole diff --git a/sandbox-providers/glesys/src/test/java/org/jclouds/glesys/features/EmailClientExpectTest.java b/sandbox-providers/glesys/src/test/java/org/jclouds/glesys/features/EmailClientExpectTest.java index ac95aae1d3..8cf4a19347 100644 --- a/sandbox-providers/glesys/src/test/java/org/jclouds/glesys/features/EmailClientExpectTest.java +++ b/sandbox-providers/glesys/src/test/java/org/jclouds/glesys/features/EmailClientExpectTest.java @@ -18,8 +18,16 @@ */ package org.jclouds.glesys.features; -import com.google.common.collect.ImmutableMultimap; -import com.google.common.collect.ImmutableSet; +import static org.jclouds.io.Payloads.newUrlEncodedFormPayload; +import static org.testng.Assert.assertEquals; +import static org.testng.Assert.assertNull; +import static org.testng.Assert.assertTrue; + +import java.net.URI; +import java.text.DateFormat; +import java.text.SimpleDateFormat; +import java.util.Set; + import org.jclouds.glesys.GleSYSClient; import org.jclouds.glesys.domain.Email; import org.jclouds.glesys.domain.EmailOverview; @@ -27,21 +35,13 @@ import org.jclouds.glesys.domain.EmailOverviewDomain; import org.jclouds.glesys.domain.EmailOverviewSummary; import org.jclouds.http.HttpRequest; import org.jclouds.http.HttpResponse; -import org.jclouds.http.HttpResponseException; import org.jclouds.rest.AuthorizationException; import org.jclouds.rest.BaseRestClientExpectTest; import org.jclouds.rest.ResourceNotFoundException; import org.testng.annotations.Test; -import java.net.URI; -import java.text.DateFormat; -import java.text.SimpleDateFormat; -import java.util.Set; - -import static org.jclouds.io.Payloads.newUrlEncodedFormPayload; -import static org.testng.Assert.assertEquals; -import static org.testng.Assert.assertNull; -import static org.testng.Assert.assertTrue; +import com.google.common.collect.ImmutableMultimap; +import com.google.common.collect.ImmutableSet; /** * Tests annotation parsing of {@code EmailClient}