[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [onionoo/master] Rename a variable.
commit dcd18e37afb1f9794b39de387aba8ceef82ce748
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
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");
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits