Do not use AutoValue shaded imports

This commit is contained in:
Ignasi Barrera 2015-06-10 13:29:11 +02:00
parent 23f158f322
commit cd91e009ed
9 changed files with 22 additions and 12 deletions

View File

@ -27,8 +27,8 @@ import org.jclouds.javax.annotation.Nullable;
import org.jclouds.profitbricks.domain.internal.FirewallRuleCommonProperties;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import autovalue.shaded.com.google.common.common.collect.Lists;
import static com.google.common.net.InetAddresses.isInetAddress;
@AutoValue

View File

@ -18,8 +18,6 @@ package org.jclouds.profitbricks.domain;
import static com.google.common.base.Preconditions.checkArgument;
import autovalue.shaded.com.google.common.common.collect.Lists;
import com.google.auto.value.AutoValue;
import java.util.List;
@ -27,6 +25,8 @@ import java.util.List;
import org.jclouds.javax.annotation.Nullable;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import static com.google.common.net.InetAddresses.isInetAddress;
@AutoValue

View File

@ -16,8 +16,7 @@
*/
package org.jclouds.profitbricks.http.parser.firewall;
import autovalue.shaded.com.google.common.common.collect.Lists;
import com.google.common.collect.Lists;
import com.google.inject.Inject;
import java.util.List;

View File

@ -16,9 +16,11 @@
*/
package org.jclouds.profitbricks.http.parser.ipblock;
import autovalue.shaded.com.google.common.common.collect.Lists;
import com.google.common.collect.Lists;
import com.google.inject.Inject;
import java.util.List;
import org.jclouds.profitbricks.domain.IpBlock;
import org.jclouds.profitbricks.http.parser.publicip.PublicIpListResponseHandler;
import org.xml.sax.SAXException;

View File

@ -16,9 +16,11 @@
*/
package org.jclouds.profitbricks.http.parser.loadbalancer;
import autovalue.shaded.com.google.common.common.collect.Lists;
import com.google.common.collect.Lists;
import com.google.inject.Inject;
import java.util.List;
import org.jclouds.date.DateCodecFactory;
import org.jclouds.profitbricks.domain.LoadBalancer;
import org.jclouds.profitbricks.http.parser.firewall.FirewallListResponseHandler;

View File

@ -16,12 +16,14 @@
*/
package org.jclouds.profitbricks.http.parser.nic;
import autovalue.shaded.com.google.common.common.collect.Lists;
import com.google.common.collect.Lists;
import com.google.inject.Inject;
import org.jclouds.profitbricks.domain.Nic;
import org.xml.sax.SAXException;
import java.util.List;
import org.jclouds.profitbricks.http.parser.firewall.FirewallResponseHandler;
public class NicListResponseHandler extends BaseNicResponseHandler<List<Nic>> {

View File

@ -16,9 +16,11 @@
*/
package org.jclouds.profitbricks.http.parser.storage;
import autovalue.shaded.com.google.common.common.collect.Lists;
import com.google.common.collect.Lists;
import com.google.inject.Inject;
import java.util.List;
import org.jclouds.date.DateCodecFactory;
import org.jclouds.profitbricks.domain.Storage;
import org.xml.sax.SAXException;

View File

@ -16,16 +16,20 @@
*/
package org.jclouds.profitbricks.features;
import autovalue.shaded.com.google.common.common.collect.Iterables;
import java.util.List;
import org.jclouds.profitbricks.BaseProfitBricksLiveTest;
import org.jclouds.profitbricks.domain.Drive;
import org.jclouds.profitbricks.domain.Image;
import org.jclouds.profitbricks.domain.Server;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertNotNull;
import org.testng.annotations.Test;
import com.google.common.collect.Iterables;
@Test(groups = "live", testName = "DrivesApiLiveTest", singleThreaded = true)
public class DrivesApiLiveTest extends BaseProfitBricksLiveTest {

View File

@ -16,6 +16,7 @@
*/
package org.jclouds.profitbricks.features;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Iterables;
import java.util.List;
@ -41,8 +42,6 @@ import org.testng.annotations.Test;
import com.google.common.base.Predicate;
import autovalue.shaded.com.google.common.common.collect.ImmutableList;
@Test(groups = "live", testName = "FirewallApiLiveTest", singleThreaded = true)
public class FirewallApiLiveTest extends BaseProfitBricksLiveTest {