mirror of https://github.com/apache/jclouds.git
Fixed checkstyle violations
This commit is contained in:
parent
73600c8174
commit
cc49f934d7
|
@ -55,7 +55,7 @@ public class ImageAdapterTest {
|
|||
|
||||
assertNotNull(container.image.getBlockDeviceMapping());
|
||||
assertEquals(container.image.getBlockDeviceMapping().size(), 1);
|
||||
assertEquals(new Integer(2), getOnlyElement(container.image.getBlockDeviceMapping()).getBootIndex());
|
||||
assertEquals(Integer.valueOf(2), getOnlyElement(container.image.getBlockDeviceMapping()).getBootIndex());
|
||||
assertEquals("snapshot", getOnlyElement(container.image.getBlockDeviceMapping()).getSourceType());
|
||||
}
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ public class ImageApiMockTest extends BaseOpenStackMockTest<NovaApi> {
|
|||
assertEquals(1, img.getBlockDeviceMapping().size());
|
||||
BlockDeviceMapping blockDeviceMapping = img.getBlockDeviceMapping().get(0);
|
||||
assertEquals("snapshot", blockDeviceMapping.getSourceType());
|
||||
assertEquals(new Integer(2), blockDeviceMapping.getBootIndex());
|
||||
assertEquals(Integer.valueOf(2), blockDeviceMapping.getBootIndex());
|
||||
} finally {
|
||||
server.shutdown();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue