From 128f78823240bbf4e60eb6fcdfb7ff63133cacdc Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Sat, 4 Aug 2018 15:23:32 +0300 Subject: [PATCH] Fixed compile issue --- .../plan/system/processing/importing/importers/Importer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Plan/src/main/java/com/djrapitops/plan/system/processing/importing/importers/Importer.java b/Plan/src/main/java/com/djrapitops/plan/system/processing/importing/importers/Importer.java index e0f39dc20..7c5f299d9 100644 --- a/Plan/src/main/java/com/djrapitops/plan/system/processing/importing/importers/Importer.java +++ b/Plan/src/main/java/com/djrapitops/plan/system/processing/importing/importers/Importer.java @@ -24,7 +24,6 @@ import com.djrapitops.plugin.api.utility.log.Log; import com.djrapitops.plugin.utilities.Verify; import com.google.common.collect.ImmutableMap; -import java.io.UnsupportedEncodingException; import java.security.NoSuchAlgorithmException; import java.util.*; import java.util.concurrent.ExecutorService; @@ -233,7 +232,7 @@ public abstract class Importer { String geoLoc = GeolocationCache.getCountry(ip); try { return new GeoInfo(ip, geoLoc, date, new SHA256Hash(ip).create()); - } catch (UnsupportedEncodingException | NoSuchAlgorithmException e) { + } catch (NoSuchAlgorithmException e) { throw new IllegalArgumentException(e); } }).collect(Collectors.toList());