diff options
author | Abyss777 <abyss@fox5.ru> | 2016-08-05 14:41:53 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-08-05 14:41:53 +0500 |
commit | 5a6e7582a7978341f3a2de9a81cb63252bca0bb7 (patch) | |
tree | 585eab11bfd805b9de814324e5e892e854fc1c62 /src/org/traccar/reports/ReportUtils.java | |
parent | 933247b3d2ec24d65203fae39dcafbe2c9afb87e (diff) | |
download | trackermap-server-5a6e7582a7978341f3a2de9a81cb63252bca0bb7.tar.gz trackermap-server-5a6e7582a7978341f3a2de9a81cb63252bca0bb7.tar.bz2 trackermap-server-5a6e7582a7978341f3a2de9a81cb63252bca0bb7.zip |
- Moved GeneralReport to separate file
- Removed unnecessary getOut function
- Added methods sorting
Diffstat (limited to 'src/org/traccar/reports/ReportUtils.java')
-rw-r--r-- | src/org/traccar/reports/ReportUtils.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/org/traccar/reports/ReportUtils.java b/src/org/traccar/reports/ReportUtils.java index e8048f1f2..c4c63e525 100644 --- a/src/org/traccar/reports/ReportUtils.java +++ b/src/org/traccar/reports/ReportUtils.java @@ -1,13 +1,8 @@ package org.traccar.reports; -import java.io.IOException; -import java.io.OutputStream; import java.util.ArrayList; import java.util.Collection; -import javax.ws.rs.WebApplicationException; -import javax.ws.rs.core.StreamingOutput; - import org.traccar.Context; public final class ReportUtils { @@ -24,12 +19,4 @@ public final class ReportUtils { return result; } - public static StreamingOutput getOut(final byte[] csvBytes) { - return new StreamingOutput() { - @Override - public void write(OutputStream out) throws IOException, WebApplicationException { - out.write(csvBytes); - } - }; - } } |