mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup of nullable usage
This commit is contained in:
@@ -95,16 +95,14 @@ public class IndexInfrastructure {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
assert os != null;
|
||||
try {
|
||||
if (os != null) {
|
||||
os.writeInt(version);
|
||||
os.writeInt(VERSION);
|
||||
}
|
||||
os.writeInt(version);
|
||||
os.writeInt(VERSION);
|
||||
}
|
||||
finally {
|
||||
ourIndexIdToCreationStamp.clear();
|
||||
if (os != null) os.close();
|
||||
os.close();
|
||||
long max = Math.max(System.currentTimeMillis(), Math.max(prevLastModifiedValue, ourLastStamp) + 2000);
|
||||
ourLastStamp = max;
|
||||
file.setLastModified(max);
|
||||
|
||||
Reference in New Issue
Block a user