From c086d448ab308a64347de4487e1c34b076df9af4 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Thu, 27 Mar 2008 00:24:31 +0000 Subject: Lenient when unregistering index. --- src/main/java/com/amazon/carbonado/repo/indexed/IndexedStorage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com') 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 implements Storage, StorageAccess StoredIndexInfo info = mRepository.getWrappedRepository() .storageFor(StoredIndexInfo.class).prepare(); info.setIndexName(indexName); - info.delete(); + info.tryDelete(); } @SuppressWarnings("unchecked") -- cgit v1.2.3