[freenet-cvs] r18947 - trunk/freenet/src/freenet/client/async
toad at freenetproject.org
toad at freenetproject.org
Thu Apr 3 12:10:28 UTC 2008
Author: toad
Date: 2008-04-03 12:10:28 +0000 (Thu, 03 Apr 2008)
New Revision: 18947
Modified:
trunk/freenet/src/freenet/client/async/USKManager.java
Log:
Logging
Modified: trunk/freenet/src/freenet/client/async/USKManager.java
===================================================================
--- trunk/freenet/src/freenet/client/async/USKManager.java 2008-04-03 12:04:30 UTC (rev 18946)
+++ trunk/freenet/src/freenet/client/async/USKManager.java 2008-04-03 12:10:28 UTC (rev 18947)
@@ -212,10 +212,7 @@
USK clear = origUSK.clearCopy();
USKCallback[] callbacks = (USKCallback[]) subscribersByClearUSK.get(clear);
if(callbacks == null){ // maybe we should throw something ? shall we allow multiple unsubscriptions ?
- if(Logger.shouldLog(Logger.ERROR, this)){
- Logger.error(this, "The callback is null! it has been already unsubscribed, hasn't it?");
- new NullPointerException("The callback is null! it has been already unsubscribed, hasn't it?").printStackTrace();
- }
+ Logger.error(this, "The callback is null! it has been already unsubscribed, hasn't it?", new Exception("debug"));
return;
}
int j=0;
More information about the cvs
mailing list