mirror of
https://gitlab.com/kauron/jstudy
synced 2024-12-22 08:23:33 +01:00
small warnings
This commit is contained in:
parent
43ef5e7826
commit
4a3679620d
2 changed files with 1 additions and 2 deletions
|
@ -91,7 +91,6 @@ public class Controller implements Initializable {
|
|||
private void checkUpdate() {
|
||||
// Check new version via gitlab's REST API
|
||||
String newVersion;
|
||||
File jarFile;
|
||||
BufferedReader br;
|
||||
try {
|
||||
URL apiUrl = new URL("https://gitlab.com/api/v4/projects/9264549/releases");
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.TimerTask;
|
|||
public class Clock {
|
||||
private static final short SEC_TO_MIN = 60;
|
||||
private short seconds = 0;
|
||||
private Timer timer = new Timer();
|
||||
private final Timer timer = new Timer();
|
||||
private TimerTask task;
|
||||
private final StringProperty time = new SimpleStringProperty();
|
||||
|
||||
|
|
Loading…
Reference in a new issue