Author: adietish
Date: 2011-05-05 05:55:49 -0400 (Thu, 05 May 2011)
New Revision: 31094
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossRuntimeWizardFragment.java
Log:
corrected warnings about non-nls strings
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossRuntimeWizardFragment.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossRuntimeWizardFragment.java 2011-05-05
09:54:52 UTC (rev 31093)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossRuntimeWizardFragment.java 2011-05-05
09:55:49 UTC (rev 31094)
@@ -639,7 +639,7 @@
}
protected boolean isHomeValid() {
- if( homeDir == null || homeDir.equals("") || !(new File(homeDir).exists()))
return false;
+ if( homeDir == null || homeDir.length() == 1 || !(new File(homeDir).exists())) return
false; //$NON-NLS-1$
return new
Path(homeDir).append("bin").append("run.jar").toFile().exists();
//$NON-NLS-1$ //$NON-NLS-2$
}
Show replies by date