ACCUMULO-3221 Ensure arithmetic happens as longs and not integers.
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/e18aacda Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/e18aacda Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/e18aacda Branch: refs/heads/1.6 Commit: e18aacda38d36871aa9d8c39594174af3006f216 Parents: 854dce9 Author: Josh Elser <els...@apache.org> Authored: Fri Oct 10 14:10:41 2014 -0400 Committer: Josh Elser <els...@apache.org> Committed: Fri Oct 10 14:10:41 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/e18aacda/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 6943b37..a2834ff 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 @@ -229,7 +229,7 @@ public class Shell extends ShellOptions { } setDebugging(cl.hasOption(debugOption.getLongOpt())); - authTimeout = Integer.parseInt(cl.getOptionValue(authTimeoutOpt.getLongOpt(), DEFAULT_AUTH_TIMEOUT)) * 60 * 1000; + authTimeout = Integer.parseInt(cl.getOptionValue(authTimeoutOpt.getLongOpt(), DEFAULT_AUTH_TIMEOUT)) * 60 * 1000l; disableAuthTimeout = cl.hasOption(disableAuthTimeoutOpt.getLongOpt()); if (cl.hasOption(zooKeeperInstance.getOpt()) && cl.getOptionValues(zooKeeperInstance.getOpt()).length != 2)