Author: adietish
Date: 2011-10-17 03:08:01 -0400 (Mon, 17 Oct 2011)
New Revision: 35694
Modified:
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/common/StringUtils.java
Log:
[JBIDE-9920] changed passphrase text field to be a password text field
Modified:
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/common/StringUtils.java
===================================================================
---
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/common/StringUtils.java 2011-10-17
07:00:13 UTC (rev 35693)
+++
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/common/StringUtils.java 2011-10-17
07:08:01 UTC (rev 35694)
@@ -23,8 +23,8 @@
}
public static boolean isEmpty(String value) {
- return value != null
- && value.length() > 0;
+ return value == null
+ || value.length() == 0;
}
}
Show replies by date