aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-10-08 18:32:48 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-10-08 18:32:48 +1300
commita912ce127c23839c324db2109ab4741ff24a75f6 (patch)
tree1f322356462b3ae89e4a6283ed05be020c02a615 /src/org/traccar/api
parentccd10d6ee510c72b583fae8e302ed6c44574d5b1 (diff)
downloadtraccar-server-a912ce127c23839c324db2109ab4741ff24a75f6.tar.gz
traccar-server-a912ce127c23839c324db2109ab4741ff24a75f6.tar.bz2
traccar-server-a912ce127c23839c324db2109ab4741ff24a75f6.zip
Fix check style issue
Diffstat (limited to 'src/org/traccar/api')
-rw-r--r--src/org/traccar/api/resource/StatisticsResource.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/api/resource/StatisticsResource.java b/src/org/traccar/api/resource/StatisticsResource.java
index 1f0d05e06..e737560ef 100644
--- a/src/org/traccar/api/resource/StatisticsResource.java
+++ b/src/org/traccar/api/resource/StatisticsResource.java
@@ -35,7 +35,8 @@ import java.util.Collection;
public class StatisticsResource extends BaseResource {
@GET
- public Collection<Statistics> get(@QueryParam("from") String from, @QueryParam("to") String to) throws SQLException {
+ public Collection<Statistics> get(
+ @QueryParam("from") String from, @QueryParam("to") String to) throws SQLException {
Context.getPermissionsManager().checkAdmin(getUserId());
return Context.getDataManager().getStatistics(JsonConverter.parseDate(from), JsonConverter.parseDate(to));
}