summaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2012-01-24 21:32:45 +0000
committerBrian S. O'Neill <bronee@gmail.com>2012-01-24 21:32:45 +0000
commit6a25939edbeb0baea1c3e929a2e338335734dfda (patch)
treea1c3651e2585f44dbeda700a2d2de5f8c367cbc0 /src/main/java/com
parentb064024b4e3c9a7cd45fc295cc1da54028db1d7f (diff)
Revert last change.
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepositoryBuilder.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepositoryBuilder.java b/src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepositoryBuilder.java
index a24cffe..17beb2e 100644
--- a/src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepositoryBuilder.java
+++ b/src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepositoryBuilder.java
@@ -82,11 +82,8 @@ public class ReplicatedRepositoryBuilder extends AbstractRepositoryBuilder {
mMasterRepositoryBuilder.setMaster(mIsMaster);
Log log = LogFactory.getLog(ReplicatedRepositoryBuilder.class);
- // Pass a dummy root reference, to prevent it from overriding the
- // true root, which is a ReplicatedRepository.
- AtomicReference<Repository> dummyRef = new AtomicReference<Repository>();
BelatedRepositoryCreator creator = new BelatedRepositoryCreator
- (log, mMasterRepositoryBuilder, dummyRef, DEFAULT_RETRY_MILLIS) {
+ (log, mMasterRepositoryBuilder, rootRef, DEFAULT_RETRY_MILLIS) {
@Override
protected void createdNotification(Repository repo) {