Skip to content

Commit 26f4891

Browse files
committed
redundant code removed - jmxModel is now instance variable
1 parent 3922212 commit 26f4891

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ public EnvironmentProvider getEnvironmentProvider() {
9393

9494
public int getPid() {
9595
if (pid == UNKNOWN_PID && getState() == Stateful.STATE_AVAILABLE) {
96-
JmxModel jmxModel = JmxModelFactory.getJmxModelFor(this);
9796
if (jmxModel != null && jmxModel.getConnectionState() == ConnectionState.CONNECTED) {
9897
JvmMXBeans mxbeans = JvmMXBeansFactory.getJvmMXBeans(jmxModel);
9998
if (mxbeans != null) {

0 commit comments

Comments
 (0)