diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-01-28 14:17:27 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-01-28 14:17:27 +0000 |
commit | 8080abacd6fc379acba4136d0b854d780f262f4e (patch) | |
tree | 5e50c33c2432e444af02618b978fd1caf7253f99 /EssentialsGeoIP/src/com/maxmind/geoip/DatabaseInfo.java | |
parent | e960078e1ad87cd509e5b13eafd02e3ecb7136a7 (diff) | |
download | Essentials-8080abacd6fc379acba4136d0b854d780f262f4e.tar Essentials-8080abacd6fc379acba4136d0b854d780f262f4e.tar.gz Essentials-8080abacd6fc379acba4136d0b854d780f262f4e.tar.lz Essentials-8080abacd6fc379acba4136d0b854d780f262f4e.tar.xz Essentials-8080abacd6fc379acba4136d0b854d780f262f4e.zip |
More general cleanup.
Diffstat (limited to 'EssentialsGeoIP/src/com/maxmind/geoip/DatabaseInfo.java')
-rw-r--r-- | EssentialsGeoIP/src/com/maxmind/geoip/DatabaseInfo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsGeoIP/src/com/maxmind/geoip/DatabaseInfo.java b/EssentialsGeoIP/src/com/maxmind/geoip/DatabaseInfo.java index 939259ebb..dac8c33a1 100644 --- a/EssentialsGeoIP/src/com/maxmind/geoip/DatabaseInfo.java +++ b/EssentialsGeoIP/src/com/maxmind/geoip/DatabaseInfo.java @@ -70,7 +70,7 @@ private static SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMdd"); } public int getType() { - if (info == null || info.equals("")) { + if (info == null || info.isEmpty()) { return COUNTRY_EDITION; } else { |