Skip to content

Commit

Permalink
Code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ka0o0 committed Dec 4, 2019
1 parent 15eacd1 commit a950aee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/org/jabref/gui/dialogs/AutosaveUIManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
public class AutosaveUIManager {

private static final Logger LOGGER = LoggerFactory.getLogger(AutosaveUIManager.class);
private static final long SAVE_ACTION_TIME_FRAME = 200;
private final BasePanel panel;
private Timer timer = null;
private Timer timer;


public AutosaveUIManager(BasePanel panel) {
Expand All @@ -43,6 +44,6 @@ public void run() {
LOGGER.error("Problem occured while saving.", e);
}
}
}, 200);
}, SAVE_ACTION_TIME_FRAME);
}
}

0 comments on commit a950aee

Please sign in to comment.