[Minor] switched to StringHelper.isNotEmpty()

This commit is contained in:
Robert von Burg 2014-01-31 19:03:07 +01:00
parent e72481eddd
commit f857c0b5c0
1 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ public abstract class AbstractionConfiguration {
public boolean getBoolean(String key, Boolean defValue) {
String value = this.configurationValues.get(key);
if (!StringHelper.isEmpty(value)) {
if (StringHelper.isNotEmpty(value)) {
if (value.equalsIgnoreCase("true")) //$NON-NLS-1$
return true;
else if (value.equalsIgnoreCase("false")) //$NON-NLS-1$
@ -84,7 +84,7 @@ public abstract class AbstractionConfiguration {
public int getInt(String key, int defValue) {
String value = this.configurationValues.get(key);
if (!StringHelper.isEmpty(value)) {
if (StringHelper.isNotEmpty(value)) {
try {
return Integer.parseInt(value);
@ -102,7 +102,7 @@ public abstract class AbstractionConfiguration {
public long getLong(String key, long defValue) {
String value = this.configurationValues.get(key);
if (!StringHelper.isEmpty(value)) {
if (StringHelper.isNotEmpty(value)) {
try {
return Long.parseLong(value);