mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-11-16 16:12:32 +01:00
Format stuff
This commit is contained in:
parent
2e14430d3d
commit
4a2e55270f
2
src/main/java/mdnet/cache/DiskLruCache.java
vendored
2
src/main/java/mdnet/cache/DiskLruCache.java
vendored
@ -254,7 +254,7 @@ public final class DiskLruCache implements Closeable {
|
||||
try {
|
||||
readJournalLine(reader.readLine());
|
||||
lineCount++;
|
||||
} catch(UnexpectedJournalLineException ignored) {
|
||||
} catch (UnexpectedJournalLineException ignored) {
|
||||
// just continue and hope nothing breaks
|
||||
} catch (EOFException e) {
|
||||
break;
|
||||
|
@ -3,7 +3,7 @@ package mdnet.cache;
|
||||
import java.io.IOException;
|
||||
|
||||
public class UnexpectedJournalLineException extends IOException {
|
||||
public UnexpectedJournalLineException(String unexpectedLine) {
|
||||
super("unexpected journal line: " + unexpectedLine);
|
||||
}
|
||||
public UnexpectedJournalLineException(String unexpectedLine) {
|
||||
super("unexpected journal line: " + unexpectedLine);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user