diff --git a/src/org/newrelic/nrjmx/Arguments.java b/src/org/newrelic/nrjmx/Arguments.java index e6c5537b..65662197 100644 --- a/src/org/newrelic/nrjmx/Arguments.java +++ b/src/org/newrelic/nrjmx/Arguments.java @@ -106,7 +106,7 @@ public String getUsername() { return username; } - public Boolean getIsRemoteJMX() { + public boolean getIsRemoteJMX() { return isRemoteJMX; } diff --git a/src/org/newrelic/nrjmx/JMXFetcher.java b/src/org/newrelic/nrjmx/JMXFetcher.java index 80c1d5d4..33ee382d 100644 --- a/src/org/newrelic/nrjmx/JMXFetcher.java +++ b/src/org/newrelic/nrjmx/JMXFetcher.java @@ -41,7 +41,7 @@ public class ValueError extends Exception { public ValueError(String message) { super(message); } }; - public JMXFetcher(String hostname, int port, String username, String password , String keyStore, String keyStorePassword, String trustStore, String trustStorePassword, Boolean isRemote) throws ConnectionError { + public JMXFetcher(String hostname, int port, String username, String password , String keyStore, String keyStorePassword, String trustStore, String trustStorePassword, boolean isRemote) throws ConnectionError { String connectionString = String.format("service:jmx:rmi:///jndi/rmi://%s:%s/jmxrmi", hostname, port); if (isRemote) { connectionString = String.format("service:jmx:remoting-jmx://%s:%s", hostname, port);