From 6a25939edbeb0baea1c3e929a2e338335734dfda Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Tue, 24 Jan 2012 21:32:45 +0000 Subject: Revert last change. --- .../carbonado/repo/replicated/ReplicatedRepositoryBuilder.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') 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 dummyRef = new AtomicReference(); BelatedRepositoryCreator creator = new BelatedRepositoryCreator - (log, mMasterRepositoryBuilder, dummyRef, DEFAULT_RETRY_MILLIS) { + (log, mMasterRepositoryBuilder, rootRef, DEFAULT_RETRY_MILLIS) { @Override protected void createdNotification(Repository repo) { -- cgit v1.2.3