Skip to content

Commit

Permalink
Removed leftover code
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen.dong committed Nov 4, 2013
1 parent c23046c commit 5d3ee4f
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import java.io.Reader;
import java.io.StringReader;
import java.io.StringWriter;
import java.text.NumberFormat;
import java.util.*;
import java.util.concurrent.*;

Expand All @@ -21,7 +20,6 @@ public class AmbariCommunicator {
private JSONParser parser = new JSONParser();
private Parser xmlParser;
private Map<String, Object> metrics;
private NumberFormat numberFormat = NumberFormat.getInstance();
private ExecutorService executor;

private static final String CLUSTER_FIELDS = "?fields=services,hosts";
Expand Down Expand Up @@ -60,7 +58,6 @@ public AmbariCommunicator(String host, String port, String user, String password
this.logger = logger;
this.xmlParser = xmlParser;

numberFormat.setGroupingUsed(false);
executor = Executors.newFixedThreadPool(xmlParser.getThreadLimit());
}

Expand Down

0 comments on commit 5d3ee4f

Please sign in to comment.