mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +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) {
|
||||
// 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
|
||||
// systems. This may produce false positives, but they are pretty harmless.
|
||||
// of File.lastModified() method and possible skew between clocks on a multi-CPU
|
||||
// system. This may produce false positives, but they are pretty harmless.
|
||||
return new File(filename).lastModified() >= timestamp - 1000;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue