Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIbrahim Sallam2010-06-11 13:57:43 +0000
committerIbrahim Sallam2010-06-11 13:57:43 +0000
commit0d18471de855c64d2cc303d55b2f1911c04aa050 (patch)
tree9cec910f976e689f8745400f8eeffbbab78cf618
parent1c5662df027cfdf4a1a1b9009b2c94cb6c66975f (diff)
downloadcdo-0d18471de855c64d2cc303d55b2f1911c04aa050.tar.gz
cdo-0d18471de855c64d2cc303d55b2f1911c04aa050.tar.xz
cdo-0d18471de855c64d2cc303d55b2f1911c04aa050.zip
Replaced String.isEmpty() with a JDK 5 equivalent.
-rw-r--r--plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/ObjectivityStoreConfig.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/ObjectivityStoreConfig.java b/plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/ObjectivityStoreConfig.java
index f5b8773a4c..6b5abdf051 100644
--- a/plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/ObjectivityStoreConfig.java
+++ b/plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/ObjectivityStoreConfig.java
@@ -108,7 +108,7 @@ public class ObjectivityStoreConfig extends Lifecycle implements IObjectivitySto
private int getIntegerValue(String str, int defaultValue)
{
- if (str.isEmpty())
+ if (str.length() == 0) // once we move to JDK 6 we can use isEmpty().
{
return defaultValue;
}

Back to the top