mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-27 09:00:28 +08:00
Fixed compile issue
This commit is contained in:
parent
d9fc8cb842
commit
128f788232
@ -24,7 +24,6 @@ import com.djrapitops.plugin.api.utility.log.Log;
|
|||||||
import com.djrapitops.plugin.utilities.Verify;
|
import com.djrapitops.plugin.utilities.Verify;
|
||||||
import com.google.common.collect.ImmutableMap;
|
import com.google.common.collect.ImmutableMap;
|
||||||
|
|
||||||
import java.io.UnsupportedEncodingException;
|
|
||||||
import java.security.NoSuchAlgorithmException;
|
import java.security.NoSuchAlgorithmException;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.concurrent.ExecutorService;
|
import java.util.concurrent.ExecutorService;
|
||||||
@ -233,7 +232,7 @@ public abstract class Importer {
|
|||||||
String geoLoc = GeolocationCache.getCountry(ip);
|
String geoLoc = GeolocationCache.getCountry(ip);
|
||||||
try {
|
try {
|
||||||
return new GeoInfo(ip, geoLoc, date, new SHA256Hash(ip).create());
|
return new GeoInfo(ip, geoLoc, date, new SHA256Hash(ip).create());
|
||||||
} catch (UnsupportedEncodingException | NoSuchAlgorithmException e) {
|
} catch (NoSuchAlgorithmException e) {
|
||||||
throw new IllegalArgumentException(e);
|
throw new IllegalArgumentException(e);
|
||||||
}
|
}
|
||||||
}).collect(Collectors.toList());
|
}).collect(Collectors.toList());
|
||||||
|
Loading…
Reference in New Issue
Block a user