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