[jbosstools-commits] JBoss Tools SVN: r43539 - trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Sat Sep 8 17:25:33 EDT 2012


Author: snjeza
Date: 2012-09-08 17:25:33 -0400 (Sat, 08 Sep 2012)
New Revision: 43539

Modified:
   trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/RuntimeUIActivator.java
Log:
JBIDE-12569 - Runtime Detection preference page and RuntimeScanner are broken in trunk 

Modified: trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/RuntimeUIActivator.java
===================================================================
--- trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/RuntimeUIActivator.java	2012-09-08 21:01:28 UTC (rev 43538)
+++ trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/RuntimeUIActivator.java	2012-09-08 21:25:33 UTC (rev 43539)
@@ -186,6 +186,7 @@
 	private void initRuntimePaths() throws WorkbenchException {
 		String runtimes = getPreferences().get(RUNTIME_PATHS, null);
 		if (runtimes == null || runtimes.isEmpty()) {
+			runtimePaths = new HashSet<RuntimePath>();
 			return;
 		}
 		runtimePaths = RuntimePathPreferenceIO.loadRuntimePathsFromPreferenceString(runtimes);



More information about the jbosstools-commits mailing list