Merge pull request #566 from andrewgaul/length-typo

Correct typo
This commit is contained in:
Adrian Cole 2012-04-16 01:12:55 -07:00
commit cedd906bdb
1 changed files with 2 additions and 2 deletions

View File

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