Loading build.xml +1 −2 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ <property name="javadoc-title" value="CollecTor API Documentation"/> <property name="implementation-title" value="CollecTor" /> <property name="release.version" value="1.18.1" /> <property name="release.version" value="1.18.1-dev" /> <property name="project-main-class" value="org.torproject.metrics.collector.Main" /> <property name="name" value="collector"/> <property name="metricslibversion" value="2.18.0" /> Loading Loading @@ -47,4 +47,3 @@ &base; </project> src/main/java/org/torproject/metrics/collector/bridgedescs/SanitizedBridgeServerDescriptor.java +2 −3 Original line number Diff line number Diff line Loading @@ -115,9 +115,9 @@ public class SanitizedBridgeServerDescriptor } scrubbed.newLine(); /* Replace the contact line (if present) with a generic one. */ /* Add the contact line (if present). */ } else if (line.startsWith("contact ")) { scrubbed.append("contact somebody").newLine(); scrubbed.append(line).newLine(); /* When we reach the signature, we're done. Write the sanitized * descriptor to disk below. */ Loading Loading @@ -362,4 +362,3 @@ public class SanitizedBridgeServerDescriptor return this.descriptorDigest; } } src/test/java/org/torproject/metrics/collector/bridgedescs/SanitizedBridgesWriterTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -191,7 +191,8 @@ public class SanitizedBridgesWriterTest { "extra-info-digest B026CF0F81712D94BBF1362294882688DF247887 " + "/XWPeILeik+uTGaKL3pnUeQfYS87SfjKVkwTiCmbqi0", "hidden-service-dir", "contact somebody", "contact jvictors at jessevictors com, PGP 0xC20BEC80, BTC " + "1M6tuPXNmhbgSfaJqnxBUAf5tKi4TVhup8", "ntor-onion-key YjZG5eaQ1gmXvlSMGEBwM7OLswv8AtXZr6ccOnDUKQw=", "reject *:*", "router-digest-sha256 " Loading Loading @@ -854,4 +855,3 @@ public class SanitizedBridgesWriterTest { this.parsedNetworkStatuses.isEmpty()); } } Loading
build.xml +1 −2 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ <property name="javadoc-title" value="CollecTor API Documentation"/> <property name="implementation-title" value="CollecTor" /> <property name="release.version" value="1.18.1" /> <property name="release.version" value="1.18.1-dev" /> <property name="project-main-class" value="org.torproject.metrics.collector.Main" /> <property name="name" value="collector"/> <property name="metricslibversion" value="2.18.0" /> Loading Loading @@ -47,4 +47,3 @@ &base; </project>
src/main/java/org/torproject/metrics/collector/bridgedescs/SanitizedBridgeServerDescriptor.java +2 −3 Original line number Diff line number Diff line Loading @@ -115,9 +115,9 @@ public class SanitizedBridgeServerDescriptor } scrubbed.newLine(); /* Replace the contact line (if present) with a generic one. */ /* Add the contact line (if present). */ } else if (line.startsWith("contact ")) { scrubbed.append("contact somebody").newLine(); scrubbed.append(line).newLine(); /* When we reach the signature, we're done. Write the sanitized * descriptor to disk below. */ Loading Loading @@ -362,4 +362,3 @@ public class SanitizedBridgeServerDescriptor return this.descriptorDigest; } }
src/test/java/org/torproject/metrics/collector/bridgedescs/SanitizedBridgesWriterTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -191,7 +191,8 @@ public class SanitizedBridgesWriterTest { "extra-info-digest B026CF0F81712D94BBF1362294882688DF247887 " + "/XWPeILeik+uTGaKL3pnUeQfYS87SfjKVkwTiCmbqi0", "hidden-service-dir", "contact somebody", "contact jvictors at jessevictors com, PGP 0xC20BEC80, BTC " + "1M6tuPXNmhbgSfaJqnxBUAf5tKi4TVhup8", "ntor-onion-key YjZG5eaQ1gmXvlSMGEBwM7OLswv8AtXZr6ccOnDUKQw=", "reject *:*", "router-digest-sha256 " Loading Loading @@ -854,4 +855,3 @@ public class SanitizedBridgesWriterTest { this.parsedNetworkStatuses.isEmpty()); } }