mirror of https://github.com/apache/jclouds.git
Fix minor compilation warnings
This commit is contained in:
parent
9536338f61
commit
718e3ec81f
|
@ -37,6 +37,7 @@ import org.jclouds.functions.IdentityFunction;
|
||||||
public class DockerComputeServiceContextModule extends
|
public class DockerComputeServiceContextModule extends
|
||||||
ComputeServiceAdapterContextModule<Container, Hardware, Image, Location> {
|
ComputeServiceAdapterContextModule<Container, Hardware, Image, Location> {
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
@Override
|
@Override
|
||||||
protected void configure() {
|
protected void configure() {
|
||||||
super.configure();
|
super.configure();
|
||||||
|
|
|
@ -187,7 +187,6 @@ public class ContainerToNodeMetadataTest {
|
||||||
assertEquals(node.getPublicAddresses().size(), 1);
|
assertEquals(node.getPublicAddresses().size(), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
private Container mockContainer() {
|
private Container mockContainer() {
|
||||||
Container mockContainer = EasyMock.createMock(Container.class);
|
Container mockContainer = EasyMock.createMock(Container.class);
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,6 @@ public class ImageToImageTest {
|
||||||
assertEquals(mockImage.getId(), image.getId().toString());
|
assertEquals(mockImage.getId(), image.getId().toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
private org.jclouds.docker.domain.Image mockImage() {
|
private org.jclouds.docker.domain.Image mockImage() {
|
||||||
org.jclouds.docker.domain.Image mockImage = EasyMock.createMock(org.jclouds.docker.domain.Image.class);
|
org.jclouds.docker.domain.Image mockImage = EasyMock.createMock(org.jclouds.docker.domain.Image.class);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue