[tor-commits] [onionoo/master] Rename a variable.
karsten at torproject.org
karsten at torproject.org
Mon Apr 2 16:18:47 UTC 2012
commit dcd18e37afb1f9794b39de387aba8ceef82ce748
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Mon Apr 2 18:04:52 2012 +0200
Rename a variable.
---
src/org/torproject/onionoo/ResourceServlet.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/org/torproject/onionoo/ResourceServlet.java b/src/org/torproject/onionoo/ResourceServlet.java
index 55a96ff..4149375 100644
--- a/src/org/torproject/onionoo/ResourceServlet.java
+++ b/src/org/torproject/onionoo/ResourceServlet.java
@@ -477,14 +477,14 @@ public class ResourceServlet extends HttpServlet {
return "";
}
fingerprint = fingerprint.substring(0, 40);
- File detailsFile = new File(this.outDirString + "bandwidth/"
+ File bandwidthFile = new File(this.outDirString + "bandwidth/"
+ fingerprint);
StringBuilder sb = new StringBuilder();
String bandwidthLines = null;
- if (detailsFile.exists()) {
+ if (bandwidthFile.exists()) {
try {
BufferedReader br = new BufferedReader(new FileReader(
- detailsFile));
+ bandwidthFile));
String line;
while ((line = br.readLine()) != null) {
sb.append(line + "\n");
More information about the tor-commits
mailing list