diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-08 18:32:48 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-08 18:32:48 +1300 |
commit | a912ce127c23839c324db2109ab4741ff24a75f6 (patch) | |
tree | 1f322356462b3ae89e4a6283ed05be020c02a615 | |
parent | ccd10d6ee510c72b583fae8e302ed6c44574d5b1 (diff) | |
download | traccar-server-a912ce127c23839c324db2109ab4741ff24a75f6.tar.gz traccar-server-a912ce127c23839c324db2109ab4741ff24a75f6.tar.bz2 traccar-server-a912ce127c23839c324db2109ab4741ff24a75f6.zip |
Fix check style issue
-rw-r--r-- | src/org/traccar/api/resource/StatisticsResource.java | 3 |
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)); } |