summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2008-03-27 00:24:31 +0000
committerBrian S. O'Neill <bronee@gmail.com>2008-03-27 00:24:31 +0000
commitc086d448ab308a64347de4487e1c34b076df9af4 (patch)
treea1f6d026065d66f092f534e156d6b9d31d6842f0
parentfda7c07a82e4b3e0ffa52e13819073278efa2cd0 (diff)
Lenient when unregistering index.
-rw-r--r--src/main/java/com/amazon/carbonado/repo/indexed/IndexedStorage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/indexed/IndexedStorage.java b/src/main/java/com/amazon/carbonado/repo/indexed/IndexedStorage.java
index 35a3ae3..246a433 100644
--- a/src/main/java/com/amazon/carbonado/repo/indexed/IndexedStorage.java
+++ b/src/main/java/com/amazon/carbonado/repo/indexed/IndexedStorage.java
@@ -517,7 +517,7 @@ class IndexedStorage<S extends Storable> implements Storage<S>, StorageAccess<S>
StoredIndexInfo info = mRepository.getWrappedRepository()
.storageFor(StoredIndexInfo.class).prepare();
info.setIndexName(indexName);
- info.delete();
+ info.tryDelete();
}
@SuppressWarnings("unchecked")