summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/repo
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2009-12-22 18:07:24 +0000
committerBrian S. O'Neill <bronee@gmail.com>2009-12-22 18:07:24 +0000
commit3429d9986c678c2c89d3d98795d405d5058b1512 (patch)
tree91060dc89aeb242be7b1add6ab52c7b2c6fc2c62 /src/main/java/com/amazon/carbonado/repo
parent4684549782accd0ffba1aefd15d42918effeddfd (diff)
Remove isClosed method, which broke compatibility.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/repo')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/indexed/IndexedRepository.java2
-rw-r--r--src/main/java/com/amazon/carbonado/repo/logging/LoggingRepository.java4
-rw-r--r--src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepository.java2
3 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/indexed/IndexedRepository.java b/src/main/java/com/amazon/carbonado/repo/indexed/IndexedRepository.java
index de6b8df..e540924 100644
--- a/src/main/java/com/amazon/carbonado/repo/indexed/IndexedRepository.java
+++ b/src/main/java/com/amazon/carbonado/repo/indexed/IndexedRepository.java
@@ -227,9 +227,11 @@ class IndexedRepository implements Repository,
mRepository.close();
}
+ /*
public boolean isClosed() {
return mRepository.isClosed();
}
+ */
public Repository getRootRepository() {
return mRootRef.get();
diff --git a/src/main/java/com/amazon/carbonado/repo/logging/LoggingRepository.java b/src/main/java/com/amazon/carbonado/repo/logging/LoggingRepository.java
index a3d1d4b..54aeab7 100644
--- a/src/main/java/com/amazon/carbonado/repo/logging/LoggingRepository.java
+++ b/src/main/java/com/amazon/carbonado/repo/logging/LoggingRepository.java
@@ -106,10 +106,12 @@ class LoggingRepository implements Repository, LogAccessCapability {
public void close() {
mRepo.close();
}
-
+
+ /*
public boolean isClosed() {
return mRepo.isClosed();
}
+ */
public Log getLog() {
return mLog;
diff --git a/src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepository.java b/src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepository.java
index e4fdd4c..5e1f0df 100644
--- a/src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepository.java
+++ b/src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepository.java
@@ -266,9 +266,11 @@ class ReplicatedRepository
mMasterRepository.close();
}
+ /*
public boolean isClosed() {
return mReplicaRepository.isClosed() || mMasterRepository.isClosed();
}
+ */
public String[] getUserStorableTypeNames() throws RepositoryException {
StorableInfoCapability replicaCap =