NPE guard

This commit is contained in:
Adrian Cole 2012-05-08 17:50:07 -07:00
parent d8472b799a
commit 5033b98252
1 changed files with 2 additions and 1 deletions

View File

@ -79,6 +79,7 @@ public class TransientStorageStrategy {
} }
public void removeBlob(final String containerName, final String blobName) { public void removeBlob(final String containerName, final String blobName) {
if (containerToBlobs.containsKey(containerName))
containerToBlobs.get(containerName).remove(blobName); containerToBlobs.get(containerName).remove(blobName);
} }