Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6755617911 for ; Fri, 10 Oct 2014 23:22:25 +0000 (UTC) Received: (qmail 73279 invoked by uid 500); 10 Oct 2014 23:22:25 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 73172 invoked by uid 500); 10 Oct 2014 23:22: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 73074 invoked by uid 99); 10 Oct 2014 23:22:25 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2014 23:22:25 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id CA6FF81E348; Fri, 10 Oct 2014 23:22:24 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ctubbsii@apache.org To: commits@accumulo.apache.org Date: Fri, 10 Oct 2014 23:22:25 -0000 Message-Id: <0d8a892959a44d708f7319edf318cc3d@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/7] git commit: ACCUMULO-3229 Format long as decimal integer, not floating-point ACCUMULO-3229 Format long as decimal integer, not floating-point Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/891584fb Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/891584fb Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/891584fb Branch: refs/heads/1.5 Commit: 891584fb7dff4e6d7895f2341b9052559144ea70 Parents: 11762c5 Author: Christopher Tubbs Authored: Fri Oct 10 19:19:20 2014 -0400 Committer: Christopher Tubbs Committed: Fri Oct 10 19:19:20 2014 -0400 ---------------------------------------------------------------------- core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/891584fb/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java b/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java index bb3c06e..fa0f5d4 100644 --- a/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java +++ b/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java @@ -493,7 +493,7 @@ public class Shell extends ShellOptions { if (disableAuthTimeout) sb.append("- Authorization timeout: disabled\n"); else - sb.append("- Authorization timeout: ").append(String.format("%.2fs%n", TimeUnit.NANOSECONDS.toSeconds(authTimeout))); + sb.append("- Authorization timeout: ").append(String.format("%ds%n", TimeUnit.NANOSECONDS.toSeconds(authTimeout))); sb.append("- Debug: ").append(isDebuggingEnabled() ? "on" : "off").append("\n"); if (!scanIteratorOptions.isEmpty()) { for (Entry> entry : scanIteratorOptions.entrySet()) {