[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-lib/master] Rename some copied-and-pasted variables.
commit 550c43e842403d1b6d57a90a9b270eeb0e913dab
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
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 mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits