Author: batosai
Date: 2008-09-24 19:08:17 +0000 (Wed, 24 Sep 2008)
New Revision: 22818
Modified:
trunk/plugins/WoT/IdentityFetcher.java
Log:
Comments. Thanks to toad for the answers.
Modified: trunk/plugins/WoT/IdentityFetcher.java
===================================================================
--- trunk/plugins/WoT/IdentityFetcher.java 2008-09-24 18:11:40 UTC (rev
22817)
+++ trunk/plugins/WoT/IdentityFetcher.java 2008-09-24 19:08:17 UTC (rev
22818)
@@ -124,25 +124,17 @@
requests.remove(state);
}
- /* TODO: comment this function: who calls it and when? */
- public void onFailure(InsertException e, BaseClientPutter state) {
-
- }
+ // Only called by inserts
+ public void onFailure(InsertException e, BaseClientPutter state) {}
- /* TODO: comment this function: who calls it and when? */
- public void onFetchable(BaseClientPutter state) {
-
- }
+ // Only called by inserts
+ public void onFetchable(BaseClientPutter state) {}
- /* TODO: comment this function: who calls it and when? */
- public void onGeneratedURI(FreenetURI uri, BaseClientPutter state) {
-
- }
+ // Only called by inserts
+ public void onGeneratedURI(FreenetURI uri, BaseClientPutter state) {}
/* TODO: comment this function: who calls it and when? */
- public void onMajorProgress() {
-
- }
+ public void onMajorProgress() {}
/**
* Called when a file is successfully fetched. We then create an
@@ -162,9 +154,6 @@
}
}
- /* TODO: comment this function: who calls it and when? */
- public void onSuccess(BaseClientPutter state) {
-
- Logger.debug(this, "Fetched key (BaseClientPutter) : " +
state.getURI());
- }
+ // Only called by inserts
+ public void onSuccess(BaseClientPutter state) {}
}