Time jumps back: LOG.error -> LOG.warn (don't show 'a-la crash' dialog)

This commit is contained in:
Vassiliy.Kudryashov
2016-12-27 11:45:12 +03:00
parent 1569ba2a11
commit db00a2d939
@@ -388,7 +388,7 @@ public class IdeEventQueue extends EventQueue {
private void checkForTimeJump() {
long now = System.currentTimeMillis();
if (myLastEventTime > now + 1000) {
LOG.error("System clock's jumped back by ~" + (myLastEventTime - now) / 1000 + " sec");
LOG.warn("System clock's jumped back by ~" + (myLastEventTime - now) / 1000 + " sec");
}
myLastEventTime = now;
}