Author: adietish
Date: 2011-05-19 05:59:43 -0400 (Thu, 19 May 2011)
New Revision: 31368
Modified:
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionPage.java
Log:
[JBIDE-8847] corrected name validation expression
Modified:
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionPage.java
===================================================================
---
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionPage.java 2011-05-19
09:23:45 UTC (rev 31367)
+++
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionPage.java 2011-05-19
09:59:43 UTC (rev 31368)
@@ -247,7 +247,8 @@
return ValidationStatus.ok();
}
} else {
- if (cloudConnection.getDeltaCloud().equals(deltaCloud)) {
+ if (deltaCloud == null
+ || cloudConnection.getDeltaCloud().equals(deltaCloud)) {
return ValidationStatus.ok();
}
}