[jbosstools-commits] JBoss Tools SVN: r31047 - trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/prefs.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue May 3 18:18:31 EDT 2011


Author: dgolovin
Date: 2011-05-03 18:18:31 -0400 (Tue, 03 May 2011)
New Revision: 31047

Modified:
   trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/prefs/Initializer.java
Log:
https://issues.jboss.org/browse/JBDS-1646 jBPM upload URL is: "/jbpm-console/upload" but it should be "/gpd-deployer/upload" in JBDS 4
replaced deprecated constructor with DefaultScope.INSTANCE

Modified: trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/prefs/Initializer.java
===================================================================
--- trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/prefs/Initializer.java	2011-05-03 21:01:25 UTC (rev 31046)
+++ trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/prefs/Initializer.java	2011-05-03 22:18:31 UTC (rev 31047)
@@ -8,7 +8,7 @@
 
 	@Override
 	public void initializeDefaultPreferences() {
-		IEclipsePreferences preferenceStore = new DefaultScope().getNode("org.jbpm.gd.jpdl");
+		IEclipsePreferences preferenceStore = DefaultScope.INSTANCE.getNode("org.jbpm.gd.jpdl");
 		preferenceStore.put(SERVER_NAME, "localhost");
 		preferenceStore.put(SERVER_PORT, "8080");
 		preferenceStore.put(SERVER_DEPLOYER, "/jbpm-console/upload");



More information about the jbosstools-commits mailing list