aboutsummaryrefslogtreecommitdiffstats
path: root/cgeo-calendar/src/cgeo/calendar/CalendarEntry.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-12-18 07:03:12 +0100
committerBananeweizen <bananeweizen@gmx.de>2012-12-18 07:03:12 +0100
commit0136bc8dbd6e7c2a97b05bb8bcb563f9723d5077 (patch)
tree5836dad07cddb0826917b63eab498d616dae3c59 /cgeo-calendar/src/cgeo/calendar/CalendarEntry.java
parentbd8a2860c404ba2cce50c9a3ebb081da9bc19fb9 (diff)
downloadcgeo-0136bc8dbd6e7c2a97b05bb8bcb563f9723d5077.zip
cgeo-0136bc8dbd6e7c2a97b05bb8bcb563f9723d5077.tar.gz
cgeo-0136bc8dbd6e7c2a97b05bb8bcb563f9723d5077.tar.bz2
stronger compiler warnings in calendar addon
* disable compiler warnings for generated code * disallow empty blocks
Diffstat (limited to 'cgeo-calendar/src/cgeo/calendar/CalendarEntry.java')
-rw-r--r--cgeo-calendar/src/cgeo/calendar/CalendarEntry.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/cgeo-calendar/src/cgeo/calendar/CalendarEntry.java b/cgeo-calendar/src/cgeo/calendar/CalendarEntry.java
index 6dddead..3e4de73 100644
--- a/cgeo-calendar/src/cgeo/calendar/CalendarEntry.java
+++ b/cgeo-calendar/src/cgeo/calendar/CalendarEntry.java
@@ -1,5 +1,7 @@
package cgeo.calendar;
+import cgeo.geocaching.utils.Log;
+
import android.net.Uri;
import android.text.Html;
import android.text.Spanned;
@@ -35,6 +37,7 @@ class CalendarEntry {
try {
this.startTimeMinutes = Integer.valueOf(startTime);
} catch (NumberFormatException e) {
+ Log.e("CalendarEntry creation", e);
}
}
}
@@ -47,6 +50,7 @@ class CalendarEntry {
}
return URLDecoder.decode(param, "UTF-8").trim();
} catch (UnsupportedEncodingException e) {
+ Log.e("CalendarEntry.getParameter", e);
}
return "";
}