1
0
Fork 0
mirror of https://gitlab.com/kauron/jstudy synced 2024-12-22 08:23:33 +01:00

small warnings

This commit is contained in:
Carlos Galindo 2019-09-13 11:55:28 +02:00
parent 43ef5e7826
commit 4a3679620d
Signed by: kauron
GPG key ID: 83E68706DEE119A3
2 changed files with 1 additions and 2 deletions

View file

@ -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");

View file

@ -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();