aboutsummaryrefslogtreecommitdiffstats
path: root/cgeo-calendar/src/cgeo/calendar/CalendarEntry.java
diff options
context:
space:
mode:
Diffstat (limited to 'cgeo-calendar/src/cgeo/calendar/CalendarEntry.java')
-rw-r--r--cgeo-calendar/src/cgeo/calendar/CalendarEntry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgeo-calendar/src/cgeo/calendar/CalendarEntry.java b/cgeo-calendar/src/cgeo/calendar/CalendarEntry.java
index 6c7624d..ff36aa4 100644
--- a/cgeo-calendar/src/cgeo/calendar/CalendarEntry.java
+++ b/cgeo-calendar/src/cgeo/calendar/CalendarEntry.java
@@ -35,7 +35,7 @@ class CalendarEntry {
final String startTime = getParameter(ICalendar.PARAM_START_TIME_MINUTES);
if (startTime.length() > 0) {
try {
- this.startTimeMinutes = Integer.valueOf(startTime);
+ this.startTimeMinutes = Integer.parseInt(startTime);
} catch (NumberFormatException e) {
Log.e("CalendarEntry creation", e);
}