Codeclimate fix
This commit is contained in:
parent
02e28052d5
commit
64742707c6
@ -177,7 +177,10 @@ public class GeoIpService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void startReading() throws IOException {
|
private void startReading() throws IOException {
|
||||||
databaseReader = new DatabaseReader.Builder(dataFile.toFile()).withCache(new CHMCache()).fileMode(FileMode.MEMORY).build();
|
databaseReader = new DatabaseReader.Builder(dataFile.toFile())
|
||||||
|
.withCache(new CHMCache())
|
||||||
|
.fileMode(FileMode.MEMORY)
|
||||||
|
.build();
|
||||||
logger.info(LICENSE);
|
logger.info(LICENSE);
|
||||||
|
|
||||||
// clear downloading flag, because we now have working reader instance
|
// clear downloading flag, because we now have working reader instance
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user