Follow up to #64180 tightening the assertion further.
This commit is contained in:
parent
0c47d49784
commit
6bd8f079a7
|
@ -193,7 +193,7 @@ public class CacheFile {
|
||||||
|
|
||||||
private void decrementRefCount() {
|
private void decrementRefCount() {
|
||||||
final boolean released = refCounter.decRef();
|
final boolean released = refCounter.decRef();
|
||||||
assert released == false || Files.notExists(file);
|
assert released == false || (evicted.get() && Files.notExists(file));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue