Cleanup.
This commit is contained in:
parent
bb5370e92a
commit
cc91f617c9
|
@ -192,8 +192,8 @@ public class AddRunRecordDialog extends JDialog {
|
||||||
throw new IllegalArgumentException("Invalid or missing duration.");
|
throw new IllegalArgumentException("Invalid or missing duration.");
|
||||||
}
|
}
|
||||||
int hours = 0;
|
int hours = 0;
|
||||||
int minutes = 0;
|
int minutes;
|
||||||
int seconds = 0;
|
int seconds;
|
||||||
if (parts.length == 3) {
|
if (parts.length == 3) {
|
||||||
hours = Integer.parseInt(parts[0]);
|
hours = Integer.parseInt(parts[0]);
|
||||||
minutes = Integer.parseInt(parts[1]);
|
minutes = Integer.parseInt(parts[1]);
|
||||||
|
|
Loading…
Reference in New Issue