mirror of https://github.com/apache/jclouds.git
Improve use of File constructor
This commit is contained in:
parent
e4c03396db
commit
02e1a54220
|
@ -650,7 +650,7 @@ public class FilesystemAsyncBlobStoreTest {
|
||||||
assertNotNull(metadata.getUserMetadata(), "No blob UserMetadata");
|
assertNotNull(metadata.getUserMetadata(), "No blob UserMetadata");
|
||||||
assertEquals(metadata.getUserMetadata().size(), 0, "Wrong blob UserMetadata");
|
assertEquals(metadata.getUserMetadata().size(), 0, "Wrong blob UserMetadata");
|
||||||
// metadata.getLastModified()
|
// metadata.getLastModified()
|
||||||
File file = new File(TARGET_CONTAINER_NAME + File.separator + BLOB_KEY);
|
File file = new File(TARGET_CONTAINER_NAME, BLOB_KEY);
|
||||||
assertEquals(metadata.getContentMetadata().getContentLength(), Long.valueOf(file.length()), "Wrong blob size");
|
assertEquals(metadata.getContentMetadata().getContentLength(), Long.valueOf(file.length()), "Wrong blob size");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue