Return-Path: X-Original-To: apmail-curator-commits-archive@minotaur.apache.org Delivered-To: apmail-curator-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 29DCD1826F for ; Wed, 20 May 2015 02:42:30 +0000 (UTC) Received: (qmail 1711 invoked by uid 500); 20 May 2015 02:42:29 -0000 Delivered-To: apmail-curator-commits-archive@curator.apache.org Received: (qmail 1676 invoked by uid 500); 20 May 2015 02:42:29 -0000 Mailing-List: contact commits-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.apache.org Delivered-To: mailing list commits@curator.apache.org Received: (qmail 1662 invoked by uid 99); 20 May 2015 02:42:29 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2015 02:42:29 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B08C4E35A7; Wed, 20 May 2015 02:42:29 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: randgalt@apache.org To: commits@curator.apache.org Date: Wed, 20 May 2015 02:42:30 -0000 Message-Id: <1b66271e24a14467afab9a7d1c18f5d9@git.apache.org> In-Reply-To: <12b06595fe2b4a83b4e5fba21e929052@git.apache.org> References: <12b06595fe2b4a83b4e5fba21e929052@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/3] curator git commit: CURATOR-161 - Added @VisibleForTesting annotation to debugListener CURATOR-161 - Added @VisibleForTesting annotation to debugListener Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/6612c91e Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/6612c91e Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/6612c91e Branch: refs/heads/CURATOR-217 Commit: 6612c91e7f6aa50ce961e0bfcc9fb4c3134e0a39 Parents: 4f21e31 Author: Cameron McKenzie Authored: Wed May 20 12:03:17 2015 +1000 Committer: Cameron McKenzie Committed: Wed May 20 12:03:17 2015 +1000 ---------------------------------------------------------------------- .../org/apache/curator/framework/imps/FailedOperationManager.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/6612c91e/curator-framework/src/main/java/org/apache/curator/framework/imps/FailedOperationManager.java ---------------------------------------------------------------------- diff --git a/curator-framework/src/main/java/org/apache/curator/framework/imps/FailedOperationManager.java b/curator-framework/src/main/java/org/apache/curator/framework/imps/FailedOperationManager.java index a1efde2..405561b 100644 --- a/curator-framework/src/main/java/org/apache/curator/framework/imps/FailedOperationManager.java +++ b/curator-framework/src/main/java/org/apache/curator/framework/imps/FailedOperationManager.java @@ -22,11 +22,14 @@ import org.apache.curator.framework.CuratorFramework; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import com.google.common.annotations.VisibleForTesting; + abstract class FailedOperationManager { private final Logger log = LoggerFactory.getLogger(getClass()); protected final CuratorFramework client; + @VisibleForTesting volatile FailedOperationManagerListener debugListener = null; interface FailedOperationManagerListener