Skip to content

Commit 6474270

Browse files
committed
Codeclimate fix
1 parent 02e2805 commit 6474270

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/fr/xephi/authme/service/GeoIpService.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,10 @@ private void updateDatabase() {
177177
}
178178

179179
private void startReading() throws IOException {
180-
databaseReader = new DatabaseReader.Builder(dataFile.toFile()).withCache(new CHMCache()).fileMode(FileMode.MEMORY).build();
180+
databaseReader = new DatabaseReader.Builder(dataFile.toFile())
181+
.withCache(new CHMCache())
182+
.fileMode(FileMode.MEMORY)
183+
.build();
181184
logger.info(LICENSE);
182185

183186
// clear downloading flag, because we now have working reader instance

0 commit comments

Comments
 (0)