aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/web')
-rw-r--r--src/org/traccar/web/JsonConverter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/web/JsonConverter.java b/src/org/traccar/web/JsonConverter.java
index ad28a96fe..6b52fac20 100644
--- a/src/org/traccar/web/JsonConverter.java
+++ b/src/org/traccar/web/JsonConverter.java
@@ -41,7 +41,7 @@ public class JsonConverter {
private static final DateTimeFormatter dateFormat = ISODateTimeFormat.dateTime();
- public static Date parseDate(String value) throws ParseException {
+ public static Date parseDate(String value) {
return dateFormat.parseDateTime(value).toDate();
}
@@ -51,7 +51,7 @@ public class JsonConverter {
}
}
- public static <T extends Factory> T objectFromJson(JsonObject json, T prototype) throws ParseException {
+ public static <T extends Factory> T objectFromJson(JsonObject json, T prototype) {
T object = (T) prototype.create();
Method[] methods = object.getClass().getMethods();