diff --git a/apis/docker/src/main/java/org/jclouds/docker/compute/config/DockerComputeServiceContextModule.java b/apis/docker/src/main/java/org/jclouds/docker/compute/config/DockerComputeServiceContextModule.java index b1cfee2da7..063d6c9e87 100644 --- a/apis/docker/src/main/java/org/jclouds/docker/compute/config/DockerComputeServiceContextModule.java +++ b/apis/docker/src/main/java/org/jclouds/docker/compute/config/DockerComputeServiceContextModule.java @@ -37,6 +37,7 @@ import org.jclouds.functions.IdentityFunction; public class DockerComputeServiceContextModule extends ComputeServiceAdapterContextModule { + @SuppressWarnings("unchecked") @Override protected void configure() { super.configure(); diff --git a/apis/docker/src/test/java/org/jclouds/docker/compute/functions/ContainerToNodeMetadataTest.java b/apis/docker/src/test/java/org/jclouds/docker/compute/functions/ContainerToNodeMetadataTest.java index 62a7943ff9..f7a3b57637 100644 --- a/apis/docker/src/test/java/org/jclouds/docker/compute/functions/ContainerToNodeMetadataTest.java +++ b/apis/docker/src/test/java/org/jclouds/docker/compute/functions/ContainerToNodeMetadataTest.java @@ -187,7 +187,6 @@ public class ContainerToNodeMetadataTest { assertEquals(node.getPublicAddresses().size(), 1); } - @SuppressWarnings("unchecked") private Container mockContainer() { Container mockContainer = EasyMock.createMock(Container.class); diff --git a/apis/docker/src/test/java/org/jclouds/docker/compute/functions/ImageToImageTest.java b/apis/docker/src/test/java/org/jclouds/docker/compute/functions/ImageToImageTest.java index f295a38355..e9754d0101 100644 --- a/apis/docker/src/test/java/org/jclouds/docker/compute/functions/ImageToImageTest.java +++ b/apis/docker/src/test/java/org/jclouds/docker/compute/functions/ImageToImageTest.java @@ -60,7 +60,6 @@ public class ImageToImageTest { assertEquals(mockImage.getId(), image.getId().toString()); } - @SuppressWarnings("unchecked") private org.jclouds.docker.domain.Image mockImage() { org.jclouds.docker.domain.Image mockImage = EasyMock.createMock(org.jclouds.docker.domain.Image.class);