From commits-return-22628-archive-asf-public=cust-asf.ponee.io@accumulo.apache.org Sat Feb 23 14:17:26 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 [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E2DAD180675 for ; Sat, 23 Feb 2019 15:17:25 +0100 (CET) Received: (qmail 41039 invoked by uid 500); 23 Feb 2019 14:17:25 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 41029 invoked by uid 99); 23 Feb 2019 14:17:25 -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; Sat, 23 Feb 2019 14:17:25 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 7487982E8A; Sat, 23 Feb 2019 14:17:24 +0000 (UTC) Date: Sat, 23 Feb 2019 14:17:24 +0000 To: "commits@accumulo.apache.org" Subject: [accumulo] branch master updated: #982 - Revert change to fix build MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <155093144406.31916.5755115077108618415@gitbox.apache.org> From: mwalch@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: accumulo X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 90565705bce67a38895e157a194ec654c3f9dfea X-Git-Newrev: c4640998bf2558e27bb296cf09cb8e809d96f545 X-Git-Rev: c4640998bf2558e27bb296cf09cb8e809d96f545 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. mwalch pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/accumulo.git The following commit(s) were added to refs/heads/master by this push: new c464099 #982 - Revert change to fix build c464099 is described below commit c4640998bf2558e27bb296cf09cb8e809d96f545 Author: Mike Walch AuthorDate: Sat Feb 23 08:50:53 2019 -0500 #982 - Revert change to fix build --- shell/src/main/java/org/apache/accumulo/shell/Shell.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/shell/src/main/java/org/apache/accumulo/shell/Shell.java b/shell/src/main/java/org/apache/accumulo/shell/Shell.java index ada3424..14db16d 100644 --- a/shell/src/main/java/org/apache/accumulo/shell/Shell.java +++ b/shell/src/main/java/org/apache/accumulo/shell/Shell.java @@ -1130,10 +1130,9 @@ public class Shell extends ShellOptions implements KeywordExecutable { private final void printHelp(String usage, String description, Options opts, int width) throws IOException { - try (PrintWriter pw = new PrintWriter(reader.getOutput())) { - new HelpFormatter().printHelp(pw, width, usage, description, opts, 2, 5, null, true); - reader.getOutput().flush(); - } + new HelpFormatter().printHelp(new PrintWriter(reader.getOutput()), width, usage, description, + opts, 2, 5, null, true); + reader.getOutput().flush(); } public int getExitCode() {