mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-03 05:33:33 +02:00
Minor comment adjustment.
This commit is contained in:
parent
71420e489e
commit
758ce684d3
1 changed files with 2 additions and 2 deletions
|
@ -260,8 +260,8 @@ public class PDOMUpdateTask implements IPDOMIndexerTask {
|
||||||
*/
|
*/
|
||||||
private boolean fileIsNotOlderThanTimestamp(String filename, long timestamp) {
|
private boolean fileIsNotOlderThanTimestamp(String filename, long timestamp) {
|
||||||
// We are subtracting 1 second from the timestamp to account for limited precision
|
// We are subtracting 1 second from the timestamp to account for limited precision
|
||||||
// of File.lastModified() method and possible asynchrony between clocks on multi-CPU
|
// of File.lastModified() method and possible skew between clocks on a multi-CPU
|
||||||
// systems. This may produce false positives, but they are pretty harmless.
|
// system. This may produce false positives, but they are pretty harmless.
|
||||||
return new File(filename).lastModified() >= timestamp - 1000;
|
return new File(filename).lastModified() >= timestamp - 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue