commit a76ade4725ce884572f760a47d8dd19d5b6ce072 Author: Karsten Loesing karsten.loesing@gmx.net Date: Thu May 31 11:45:40 2012 +0200
Add @type annotation to bridge pool assignment files. --- .../ernie/db/BridgePoolAssignmentsProcessor.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/org/torproject/ernie/db/BridgePoolAssignmentsProcessor.java b/src/org/torproject/ernie/db/BridgePoolAssignmentsProcessor.java index c07b786..d03dcaf 100644 --- a/src/org/torproject/ernie/db/BridgePoolAssignmentsProcessor.java +++ b/src/org/torproject/ernie/db/BridgePoolAssignmentsProcessor.java @@ -110,6 +110,7 @@ public class BridgePoolAssignmentsProcessor { sanitizedAssignmentsFile.getParentFile().mkdirs(); BufferedWriter bw = new BufferedWriter(new FileWriter( sanitizedAssignmentsFile)); + bw.write("@type bridge-pool-assignment 1.0\n"); bw.write(bridgePoolAssignmentLine + "\n"); for (String assignmentLine : sanitizedAssignments) { bw.write(assignmentLine + "\n");