Author: blured75
Date: 2005-11-05 20:01:19 +0000 (Sat, 05 Nov 2005)
New Revision: 7474
Modified:
trunk/freenet/src/freenet/support/FileLoggerHook.java
Log:
remove unecessary oldTime variable in run()
Modified: trunk/freenet/src/freenet/support/FileLoggerHook.java
===================================================================
--- trunk/freenet/src/freenet/support/FileLoggerHook.java 2005-11-05
18:28:07 UTC (rev 7473)
+++ trunk/freenet/src/freenet/support/FileLoggerHook.java 2005-11-05
20:01:19 UTC (rev 7474)
@@ -151,7 +151,6 @@
public void run() {
Object o = null;
long thisTime = System.currentTimeMillis();
- long prevTime;
long nextHour = -1;
GregorianCalendar gc = null;
String filename = null;
@@ -184,8 +183,7 @@
if (redirectStdErr)
System.setErr(lout);
while (true) {
- try {
- prevTime = thisTime;
+ try {
thisTime = System.currentTimeMillis();
if (baseFilename != null) {
if (thisTime > nextHour) {