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 4F46117AB4 for ; Mon, 12 Jan 2015 19:37:47 +0000 (UTC) Received: (qmail 11981 invoked by uid 500); 12 Jan 2015 19:37:48 -0000 Delivered-To: apmail-curator-commits-archive@curator.apache.org Received: (qmail 11913 invoked by uid 500); 12 Jan 2015 19:37:48 -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 11874 invoked by uid 99); 12 Jan 2015 19:37:48 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2015 19:37:48 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 6F19FA01FE5; Mon, 12 Jan 2015 19:37:48 +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: Mon, 12 Jan 2015 19:37:51 -0000 Message-Id: <511fd20cf46c490e8e87e8ac486391a8@git.apache.org> In-Reply-To: <646adf9679df444c989ac9f40a71735b@git.apache.org> References: <646adf9679df444c989ac9f40a71735b@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [4/4] curator git commit: Added method to provide old behavior Added method to provide old behavior Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/40b2cd80 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/40b2cd80 Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/40b2cd80 Branch: refs/heads/master Commit: 40b2cd80206fc4b9327f5033d0873375a8706c4a Parents: 870b658 Author: randgalt Authored: Mon Jan 12 14:37:20 2015 -0500 Committer: randgalt Committed: Mon Jan 12 14:37:20 2015 -0500 ---------------------------------------------------------------------- .../src/main/java/org/apache/curator/utils/ThreadUtils.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/40b2cd80/curator-client/src/main/java/org/apache/curator/utils/ThreadUtils.java ---------------------------------------------------------------------- diff --git a/curator-client/src/main/java/org/apache/curator/utils/ThreadUtils.java b/curator-client/src/main/java/org/apache/curator/utils/ThreadUtils.java index ca1080d..8960ec0 100644 --- a/curator-client/src/main/java/org/apache/curator/utils/ThreadUtils.java +++ b/curator-client/src/main/java/org/apache/curator/utils/ThreadUtils.java @@ -48,10 +48,7 @@ public class ThreadUtils public static ThreadFactory newThreadFactory(String processName) { - return new ThreadFactoryBuilder() - .setNameFormat("Curator-" + processName + "-%d") - .setDaemon(true) - .build(); + return newGenericThreadFactory("Curator-" + processName); } public static ThreadFactory newGenericThreadFactory(String processName)