Skip to content

Commit

Permalink
IHOST-1609 boolean primitive instead of Boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
ferranorriols committed Mar 15, 2019
1 parent c019eef commit 9615a31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/org/newrelic/nrjmx/Arguments.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public String getUsername() {
return username;
}

public Boolean getIsRemoteJMX() {
public boolean getIsRemoteJMX() {
return isRemoteJMX;
}

Expand Down
2 changes: 1 addition & 1 deletion src/org/newrelic/nrjmx/JMXFetcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9615a31

Please sign in to comment.