summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod/dialog
diff options
context:
space:
mode:
authorAndrew Gaul <andrew@gaul.org>2016-03-14 20:04:25 -0700
committerAndrew Gaul <andrew@gaul.org>2016-03-14 20:20:25 -0700
commite87f053d9b13785dc314e74b0ea3a30d244dbec7 (patch)
treeae77e527f42beb002eff370bf90302a7ed83f6cd /app/src/main/java/de/danoeh/antennapod/dialog
parenta7ef24606962385a5b20d1c6df2dec623cc3aa69 (diff)
downloadAntennaPod-e87f053d9b13785dc314e74b0ea3a30d244dbec7.zip
Avoid unneeded boxing
Found via FindBugs.
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/dialog')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/dialog/SleepTimerDialog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/SleepTimerDialog.java b/app/src/main/java/de/danoeh/antennapod/dialog/SleepTimerDialog.java
index 930079e40..89e24f882 100644
--- a/app/src/main/java/de/danoeh/antennapod/dialog/SleepTimerDialog.java
+++ b/app/src/main/java/de/danoeh/antennapod/dialog/SleepTimerDialog.java
@@ -138,7 +138,7 @@ public abstract class SleepTimerDialog {
private long readTimeMillis() {
TimeUnit selectedUnit = units[spTimeUnit.getSelectedItemPosition()];
- long value = Long.valueOf(etxtTime.getText().toString());
+ long value = Long.parseLong(etxtTime.getText().toString());
return selectedUnit.toMillis(value);
}