From commits-return-7940-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Mon Sep 9 11:48:15 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 16E6A180608 for ; Mon, 9 Sep 2019 13:48:14 +0200 (CEST) Received: (qmail 99965 invoked by uid 500); 9 Sep 2019 11:48:14 -0000 Mailing-List: contact commits-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list commits@zookeeper.apache.org Received: (qmail 99952 invoked by uid 99); 9 Sep 2019 11:48:14 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Sep 2019 11:48:14 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 7D4BC81044; Mon, 9 Sep 2019 11:48:13 +0000 (UTC) Date: Mon, 09 Sep 2019 11:48:13 +0000 To: "commits@zookeeper.apache.org" Subject: [zookeeper] branch branch-3.5 updated: ZOOKEEPER-3539: Fix CI for branch-3.5: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <156802969319.24887.1320866513976195834@gitbox.apache.org> From: nkalmar@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: zookeeper X-Git-Refname: refs/heads/branch-3.5 X-Git-Reftype: branch X-Git-Oldrev: 77496b948f1eec3f8fa243bb8003cc97839982e4 X-Git-Newrev: 44911cfb3f04af09947d51403d55418d422e5c41 X-Git-Rev: 44911cfb3f04af09947d51403d55418d422e5c41 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. nkalmar pushed a commit to branch branch-3.5 in repository https://gitbox.apache.org/repos/asf/zookeeper.git The following commit(s) were added to refs/heads/branch-3.5 by this push: new 44911cf ZOOKEEPER-3539: Fix CI for branch-3.5: 44911cf is described below commit 44911cfb3f04af09947d51403d55418d422e5c41 Author: Enrico Olivelli AuthorDate: Mon Sep 9 13:48:05 2019 +0200 ZOOKEEPER-3539: Fix CI for branch-3.5: - do not execute findbugs on CI for ant-based tasks - fix usage of fprintf on C client Maven + Spotbugs superseded Ant + Findbugs Author: Enrico Olivelli Reviewers: Norbert Kalmar Closes #1082 from eolivelli/fix/fix-ci-35 --- build.xml | 12 ++++++------ zookeeper-client/zookeeper-client-c/src/zookeeper.c | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/build.xml b/build.xml index b772528..e0ff323 100644 --- a/build.xml +++ b/build.xml @@ -1807,7 +1807,7 @@ xmlns:cs="antlib:com.puppycrawl.tools.checkstyle.ant"> to Ant on the command-line." /> - + @@ -1816,13 +1816,13 @@ xmlns:cs="antlib:com.puppycrawl.tools.checkstyle.ant"> - + - + @@ -1842,7 +1842,7 @@ xmlns:cs="antlib:com.puppycrawl.tools.checkstyle.ant"> - + @@ -1853,7 +1853,7 @@ xmlns:cs="antlib:com.puppycrawl.tools.checkstyle.ant"> - + @@ -1863,7 +1863,7 @@ xmlns:cs="antlib:com.puppycrawl.tools.checkstyle.ant"> - + diff --git a/zookeeper-client/zookeeper-client-c/src/zookeeper.c b/zookeeper-client/zookeeper-client-c/src/zookeeper.c index 386f2f9..6e9e8c6 100644 --- a/zookeeper-client/zookeeper-client-c/src/zookeeper.c +++ b/zookeeper-client/zookeeper-client-c/src/zookeeper.c @@ -2557,18 +2557,18 @@ static __attribute__((unused)) void print_completion_queue(zhandle_t *zh) if(logLevelsent_requests.head==0) { - fprintf(LOGSTREAM,"empty\n"); + LOG_DEBUG(LOGSTREAM,"empty\n"); return; } cptr=zh->sent_requests.head; while(cptr){ - fprintf(LOGSTREAM,"%d,",cptr->xid); + LOG_DEBUG(LOGSTREAM,"%d,",cptr->xid); cptr=cptr->next; } - fprintf(LOGSTREAM,"end\n"); + LOG_DEBUG(LOGSTREAM,"end\n"); } //#ifdef THREADED