Merge pull request #881 from andrewgaul/filesystem-file

Improve use of File constructor
This commit is contained in:
Adrian Cole 2012-10-07 13:17:59 -07:00
commit a9df007d93
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}