[jboss-cvs] jbosside/core/plugins/org.jboss.ide.eclipse.firstrun/src/main/org/jboss/ide/eclipse/firstrun/wizard ...

Robert Stryker rawblem at gmail.com
Mon Oct 9 22:28:45 EDT 2006


  User: rawb    
  Date: 06/10/09 22:28:45

  Modified:    core/plugins/org.jboss.ide.eclipse.firstrun/src/main/org/jboss/ide/eclipse/firstrun/wizard 
                        FirstRunWizard.java
  Log:
  Bugs regarding new workspaces fixed. 
  
  Revision  Changes    Path
  1.6       +4 -2      jbosside/core/plugins/org.jboss.ide.eclipse.firstrun/src/main/org/jboss/ide/eclipse/firstrun/wizard/FirstRunWizard.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: FirstRunWizard.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosside/core/plugins/org.jboss.ide.eclipse.firstrun/src/main/org/jboss/ide/eclipse/firstrun/wizard/FirstRunWizard.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- FirstRunWizard.java	2 Oct 2006 20:39:36 -0000	1.5
  +++ FirstRunWizard.java	10 Oct 2006 02:28:45 -0000	1.6
  @@ -120,7 +120,9 @@
   		String currentVersion = CorePlugin.getCurrentVersion();
   		while( i.hasNext()) {
   			FirstRunWizardPageConfigElement e = (FirstRunWizardPageConfigElement)i.next();
  -			int previousMatch = CorePlugin.compare(workspaceLatest, e.getFromVersion());
  +			int previousMatch = 0;
  +			if( !workspaceLatest.equals(FirstRunPlugin.NEW_WORKSPACE)) 
  +				previousMatch = CorePlugin.compare(workspaceLatest, e.getFromVersion());
   			int currentMatch = CorePlugin.compare(currentVersion, e.getToVersion());
   			if( previousMatch != 0 || currentMatch != 0 ) {
   				i.remove();
  
  
  



More information about the jboss-cvs-commits mailing list