Fix minor compilation warnings

This commit is contained in:
Aled Sage 2014-07-17 21:35:50 +01:00
parent 9536338f61
commit 718e3ec81f
3 changed files with 1 additions and 2 deletions

View File

@ -37,6 +37,7 @@ import org.jclouds.functions.IdentityFunction;
public class DockerComputeServiceContextModule extends
ComputeServiceAdapterContextModule<Container, Hardware, Image, Location> {
@SuppressWarnings("unchecked")
@Override
protected void configure() {
super.configure();

View File

@ -187,7 +187,6 @@ public class ContainerToNodeMetadataTest {
assertEquals(node.getPublicAddresses().size(), 1);
}
@SuppressWarnings("unchecked")
private Container mockContainer() {
Container mockContainer = EasyMock.createMock(Container.class);

View File

@ -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);