Skip to content

Commit 04c4869

Browse files
committed
modifier fixed
1 parent a6b1f1e commit 04c4869

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

visualvm/jmx/src/org/graalvm/visualvm/jmx/impl/JmxModelImpl.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ static class Checker {
388388
private Checker() {
389389
}
390390

391-
public static MBeanServerConnection newChecker(
391+
static MBeanServerConnection newChecker(
392392
ProxyClient client, MBeanServerConnection mbsc) {
393393
final InvocationHandler ih = new CheckerInvocationHandler(mbsc);
394394
return (MBeanServerConnection) Proxy.newProxyInstance(
@@ -450,19 +450,19 @@ static class LocalVirtualMachine {
450450
this.javaHome = home;
451451
}
452452

453-
public int vmid() {
453+
int vmid() {
454454
return vmid;
455455
}
456456

457-
public synchronized boolean isManageable() {
457+
synchronized boolean isManageable() {
458458
return (address != null);
459459
}
460460

461-
public boolean isAttachable() {
461+
boolean isAttachable() {
462462
return isAttachSupported;
463463
}
464464

465-
public synchronized void startManagementAgent() throws IOException {
465+
synchronized void startManagementAgent() throws IOException {
466466
if (address != null) {
467467
// already started
468468
return;
@@ -481,7 +481,7 @@ public synchronized void startManagementAgent() throws IOException {
481481
}
482482
}
483483

484-
public synchronized String connectorAddress() {
484+
synchronized String connectorAddress() {
485485
// return null if not available or no JMX agent
486486
return address;
487487
}

0 commit comments

Comments
 (0)