mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix tests
This commit is contained in:
@@ -84,7 +84,7 @@ public class IndexInfrastructure {
|
||||
finally {
|
||||
ourIndexIdToCreationStamp.clear();
|
||||
os.close();
|
||||
long max = Math.max(System.currentTimeMillis(), Math.max(prevLastModifiedValue + 2000, ourLastStamp));
|
||||
long max = Math.max(System.currentTimeMillis(), Math.max(prevLastModifiedValue, ourLastStamp) + 2000);
|
||||
ourLastStamp = max;
|
||||
file.setLastModified(max);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user