Author: batosai
Date: 2008-08-31 15:07:48 +0000 (Sun, 31 Aug 2008)
New Revision: 22276
Modified:
trunk/apps/WoT/src/plugins/WoT/IdentityFetcher.java
Log:
Log before incrementing the edition number.
Modified: trunk/apps/WoT/src/plugins/WoT/IdentityFetcher.java
===================================================================
--- trunk/apps/WoT/src/plugins/WoT/IdentityFetcher.java 2008-08-31 14:09:17 UTC
(rev 22275)
+++ trunk/apps/WoT/src/plugins/WoT/IdentityFetcher.java 2008-08-31 15:07:48 UTC
(rev 22276)
@@ -109,10 +109,10 @@
Logger.debug(this, "Fetched key (ClientGetter) : " +
state.getURI());
try {
+ Logger.debug(this, "Sucessfully fetched identity "+
state.getURI().toString());
new IdentityParser(db, wot, client,
this).parse(result.asBucket().getInputStream(), state.getURI());
db.commit();
state.restart(state.getURI().setSuggestedEdition(state.getURI().getSuggestedEdition()
+ 1));
- Logger.debug(this, "Sucessfully fetched identity "+
state.getURI().toString());
} catch (Exception e) {
Logger.error(this, "Parsing failed for "+
state.getURI(), e);
}