diff --git a/bundles/fish.payara.eclipse.tools.server/src/fish/payara/eclipse/tools/server/ui/wizards/NewPayaraRuntimeWizardFragment.java b/bundles/fish.payara.eclipse.tools.server/src/fish/payara/eclipse/tools/server/ui/wizards/NewPayaraRuntimeWizardFragment.java index a2b5ada..a2b1579 100644 --- a/bundles/fish.payara.eclipse.tools.server/src/fish/payara/eclipse/tools/server/ui/wizards/NewPayaraRuntimeWizardFragment.java +++ b/bundles/fish.payara.eclipse.tools.server/src/fish/payara/eclipse/tools/server/ui/wizards/NewPayaraRuntimeWizardFragment.java @@ -193,7 +193,6 @@ public void widgetSelected(SelectionEvent se) { JdkFilter jdkFilter = payaraRuntime.getVersion() == null ? null : new JdkFilter(payaraRuntime.getJavaVersionConstraint()); updateJREs(jdkFilter); -// updateJREs(); label = new Label(group, SWT.NONE); label.setText(GlassfishWizardResources.installedJRE); data = new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_END); @@ -232,7 +231,6 @@ public void widgetSelected(SelectionEvent e) { JdkFilter jdkFilter = payaraRuntime.getVersion() == null ? null : new JdkFilter(payaraRuntime.getJavaVersionConstraint()); updateJREs(jdkFilter); -// updateJREs(); jrecombo.setItems(jreNames); jrecombo.setText(currentVM); if (jrecombo.getSelectionIndex() == -1) @@ -265,9 +263,6 @@ protected void updateJREs(JdkFilter jdkFilter) { IVMInstall vmInstall = installedJREs.get(i); jreNames[i + 1] = vmInstall.getName(); } - if (jrecombo != null) { - jrecombo.setItems(jreNames); - } } private boolean internal(final IVMInstall jvm) {