Correct typo

This commit is contained in:
Andrew Gaul 2012-04-13 15:20:13 -07:00 committed by Andrew Gaul
parent 874884c61b
commit 40bb12d410

View File

@ -240,14 +240,14 @@ public class FilesystemStorageStrategyImpl implements FilesystemStorageStrategy
} }
File containerFile = openFolder(container); File containerFile = openFolder(container);
final int containerPathLenght = containerFile.getAbsolutePath().length() + 1; final int containerPathLength = containerFile.getAbsolutePath().length() + 1;
Set<String> blobNames = new HashSet<String>() { Set<String> blobNames = new HashSet<String>() {
private static final long serialVersionUID = 3152191346558570795L; private static final long serialVersionUID = 3152191346558570795L;
@Override @Override
public boolean add(String e) { public boolean add(String e) {
return super.add(e.substring(containerPathLenght)); return super.add(e.substring(containerPathLength));
} }
}; };
populateBlobKeysInContainer(containerFile, blobNames); populateBlobKeysInContainer(containerFile, blobNames);