Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove extra Integer ctor call

Remove white-space
  • Loading branch information...
commit 010ca82b438f3889220d041375f96831dd9d4892 1 parent 2a78dc0
@d2r d2r authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/jvm/backtype/storm/utils/NimbusClient.java
View
4 src/jvm/backtype/storm/utils/NimbusClient.java
@@ -8,7 +8,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-public class NimbusClient extends ThriftClient {
+public class NimbusClient extends ThriftClient {
private Nimbus.Client _client;
private static final Logger LOG = LoggerFactory.getLogger(NimbusClient.class);
@@ -16,7 +16,7 @@ public static NimbusClient getConfiguredClient(Map conf) {
try {
String nimbusHost = (String) conf.get(Config.NIMBUS_HOST);
int nimbusPort = Utils.getInt(conf.get(Config.NIMBUS_THRIFT_PORT));
- Integer timeout = new Integer(Utils.getInt(conf.get(Config.NIMBUS_TASK_TIMEOUT_SECS)));
+ Integer timeout = Utils.getInt(conf.get(Config.NIMBUS_TASK_TIMEOUT_SECS));
return new NimbusClient(conf, nimbusHost, nimbusPort, timeout);
} catch (TTransportException ex) {
LOG.info(ex.getMessage(), ex);
Please sign in to comment.
Something went wrong with that request. Please try again.