This commit is contained in:
Andrew Lalis 2023-04-20 10:57:49 +02:00
parent bb5370e92a
commit cc91f617c9
1 changed files with 2 additions and 2 deletions

View File

@ -192,8 +192,8 @@ public class AddRunRecordDialog extends JDialog {
throw new IllegalArgumentException("Invalid or missing duration.");
}
int hours = 0;
int minutes = 0;
int seconds = 0;
int minutes;
int seconds;
if (parts.length == 3) {
hours = Integer.parseInt(parts[0]);
minutes = Integer.parseInt(parts[1]);