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");
|
||||
assertEquals(metadata.getUserMetadata().size(), 0, "Wrong blob UserMetadata");
|
||||
// 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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue