mirror of https://github.com/apache/jclouds.git
Merge pull request #881 from andrewgaul/filesystem-file
Improve use of File constructor
This commit is contained in:
commit
a9df007d93
|
@ -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