commit 550c43e842403d1b6d57a90a9b270eeb0e913dab Author: Karsten Loesing karsten.loesing@gmx.net Date: Thu Feb 2 07:55:17 2012 +0100
Rename some copied-and-pasted variables. --- .../descriptor/impl/NetworkStatusImpl.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/org/torproject/descriptor/impl/NetworkStatusImpl.java b/src/org/torproject/descriptor/impl/NetworkStatusImpl.java index fcbd8f6..febe31a 100644 --- a/src/org/torproject/descriptor/impl/NetworkStatusImpl.java +++ b/src/org/torproject/descriptor/impl/NetworkStatusImpl.java @@ -181,13 +181,13 @@ public abstract class NetworkStatusImpl extends DescriptorImpl { NetworkStatusEntryImpl statusEntry = new NetworkStatusEntryImpl( statusEntryBytes, this.failUnrecognizedDescriptorLines); this.statusEntries.put(statusEntry.getFingerprint(), statusEntry); - List<String> unrecognizedDirSourceLines = statusEntry. + List<String> unrecognizedStatusEntryLines = statusEntry. getAndClearUnrecognizedLines(); - if (unrecognizedDirSourceLines != null) { + if (unrecognizedStatusEntryLines != null) { if (this.unrecognizedLines == null) { this.unrecognizedLines = new ArrayList<String>(); } - this.unrecognizedLines.addAll(unrecognizedDirSourceLines); + this.unrecognizedLines.addAll(unrecognizedStatusEntryLines); } }
tor-commits@lists.torproject.org