commit 4f556ca13eb0bcdf881e55e75ab24ec0c99eb39e Author: Karsten Loesing karsten.loesing@gmx.net Date: Wed Sep 28 20:17:12 2016 +0200
Fix double assignment found by FindBugs. --- .../org/torproject/collector/bridgedescs/SanitizedBridgesWriter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/main/java/org/torproject/collector/bridgedescs/SanitizedBridgesWriter.java b/src/main/java/org/torproject/collector/bridgedescs/SanitizedBridgesWriter.java index e09691c..78e32b6 100644 --- a/src/main/java/org/torproject/collector/bridgedescs/SanitizedBridgesWriter.java +++ b/src/main/java/org/torproject/collector/bridgedescs/SanitizedBridgesWriter.java @@ -757,8 +757,7 @@ public class SanitizedBridgesWriter extends CollecTorMain { scrubbedDesc = scrubbedRouterLine; if (scrubbedOrAddresses != null) { for (String scrubbedOrAddress : scrubbedOrAddresses) { - scrubbedDesc = scrubbedDesc += "or-address " - + scrubbedOrAddress + "\n"; + scrubbedDesc += "or-address " + scrubbedOrAddress + "\n"; } } scrubbedDesc += scrubbed.toString();
tor-commits@lists.torproject.org