diff options
author | gahissy <titus@sillaps.com> | 2017-05-02 23:34:32 +0100 |
---|---|---|
committer | gahissy <titus@sillaps.com> | 2017-05-02 23:34:32 +0100 |
commit | aa6b11f88085a149b70b3f55fbae7928280c2b74 (patch) | |
tree | 345d7a6fdce147c5cf45aeff78d4842f3cd09adf | |
parent | 9c59b27d6c63f6afa812ad62050809291c76643b (diff) | |
download | trackermap-server-aa6b11f88085a149b70b3f55fbae7928280c2b74.tar.gz trackermap-server-aa6b11f88085a149b70b3f55fbae7928280c2b74.tar.bz2 trackermap-server-aa6b11f88085a149b70b3f55fbae7928280c2b74.zip |
Remove Apache Commons StringUtils reference
-rw-r--r-- | src/org/traccar/Config.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/org/traccar/Config.java b/src/org/traccar/Config.java index 414ccb6d3..e9b17a33b 100644 --- a/src/org/traccar/Config.java +++ b/src/org/traccar/Config.java @@ -15,8 +15,6 @@ */ package org.traccar; -import org.apache.commons.lang3.StringUtils; - import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; @@ -56,7 +54,7 @@ public class Config { public String getString(String key) { String envName = key.toUpperCase().replaceAll("\\.", "_"); String envValue = System.getenv(envName); - if (StringUtils.isNotBlank(envValue)) { + if (envValue != null && !envValue.isEmpty()) { return envValue; } return properties.getProperty(key); |