commit 4005d2532332d6d4ff5b048a0dd2fea7ed607eb9 Author: Karsten Loesing karsten.loesing@gmx.net Date: Sat Dec 5 10:45:24 2015 +0100
Add @type annotation to each Torperf measurement.
Implements #17755. --- src/org/torproject/ernie/db/torperf/TorperfDownloader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/org/torproject/ernie/db/torperf/TorperfDownloader.java b/src/org/torproject/ernie/db/torperf/TorperfDownloader.java index 76eb81d..ebca600 100644 --- a/src/org/torproject/ernie/db/torperf/TorperfDownloader.java +++ b/src/org/torproject/ernie/db/torperf/TorperfDownloader.java @@ -602,8 +602,8 @@ public class TorperfDownloader extends Thread { for (File outputFile : outputFiles) { outputFile.getParentFile().mkdirs(); BufferedWriter bw = new BufferedWriter(new FileWriter(outputFile)); - bw.write("@type torperf 1.0\n"); for (String line : this.cachedTpfLines.values()) { + bw.write("@type torperf 1.0\n"); bw.write(line + "\n"); } bw.close();