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 {
|
try {
|
||||||
readJournalLine(reader.readLine());
|
readJournalLine(reader.readLine());
|
||||||
lineCount++;
|
lineCount++;
|
||||||
} catch(UnexpectedJournalLineException ignored) {
|
} catch (UnexpectedJournalLineException ignored) {
|
||||||
// just continue and hope nothing breaks
|
// just continue and hope nothing breaks
|
||||||
} catch (EOFException e) {
|
} catch (EOFException e) {
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -3,7 +3,7 @@ package mdnet.cache;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
public class UnexpectedJournalLineException extends IOException {
|
public class UnexpectedJournalLineException extends IOException {
|
||||||
public UnexpectedJournalLineException(String unexpectedLine) {
|
public UnexpectedJournalLineException(String unexpectedLine) {
|
||||||
super("unexpected journal line: " + unexpectedLine);
|
super("unexpected journal line: " + unexpectedLine);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue