aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-23 17:04:04 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-23 17:04:04 +1200
commit79cba5842b624e341cee7721fe7ac4292f604e6f (patch)
tree9a23a06046024840e0a459706fbb8651514b84b9 /src/org/traccar/web
parentd997825008a0a1b0a6c29cc45e381cd239aa3572 (diff)
downloadtraccar-server-79cba5842b624e341cee7721fe7ac4292f604e6f.tar.gz
traccar-server-79cba5842b624e341cee7721fe7ac4292f604e6f.tar.bz2
traccar-server-79cba5842b624e341cee7721fe7ac4292f604e6f.zip
More code issues clean up
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();