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 7126C11E4D for ; Sun, 20 Jul 2014 23:57:39 +0000 (UTC) Received: (qmail 29647 invoked by uid 500); 20 Jul 2014 23:57:39 -0000 Delivered-To: apmail-curator-commits-archive@curator.apache.org Received: (qmail 29616 invoked by uid 500); 20 Jul 2014 23:57:39 -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 29607 invoked by uid 99); 20 Jul 2014 23:57:39 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Jul 2014 23:57:39 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id BFC0D9A6311; Sun, 20 Jul 2014 23:57:38 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: cammckenzie@apache.org To: commits@curator.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: COMM-121 - Reset interrupted status when catching InterruptedException. Date: Sun, 20 Jul 2014 23:57:38 +0000 (UTC) Repository: curator Updated Branches: refs/heads/CURATOR-121 51109813e -> 67399386f COMM-121 - Reset interrupted status when catching InterruptedException. Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/67399386 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/67399386 Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/67399386 Branch: refs/heads/CURATOR-121 Commit: 67399386f51948ddae898362834d2d3f852c013d Parents: 5110981 Author: Cam McKenzie Authored: Mon Jul 21 09:57:02 2014 +1000 Committer: Cam McKenzie Committed: Mon Jul 21 09:57:02 2014 +1000 ---------------------------------------------------------------------- .../apache/curator/framework/recipes/cache/PathChildrenCache.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/67399386/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java ---------------------------------------------------------------------- diff --git a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java index 077cfb3..ad433d8 100644 --- a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java +++ b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java @@ -769,6 +769,8 @@ public class PathChildrenCache implements Closeable { handleException(e); } + + Thread.currentThread().interrupt(); } catch ( Exception e ) {