Author: jflesch
Date: 2006-10-19 21:11:44 +0000 (Thu, 19 Oct 2006)
New Revision: 10676
Modified:
trunk/apps/Thaw/src/thaw/plugins/index/Index.java
Log:
Thaw will trust the node to discover the new revision of an index
Modified: trunk/apps/Thaw/src/thaw/plugins/index/Index.java
===================================================================
--- trunk/apps/Thaw/src/thaw/plugins/index/Index.java 2006-10-19 19:32:18 UTC
(rev 10675)
+++ trunk/apps/Thaw/src/thaw/plugins/index/Index.java 2006-10-19 21:11:44 UTC
(rev 10676)
@@ -264,13 +264,17 @@
String key;
- if (!isEmpty())
- key = changeRevision(publicKey, 1);
- else
- key = publicKey;
+ /* We will trust the node for the incrementation */
+ /*
+ if (!isEmpty())
+ key = changeRevision(publicKey, 1);
+ else
+ key = publicKey;
+ */
- //key = key.replaceFirst("USK@", "SSK@");
+ key = publicKey;
+
Logger.info(this, "Key asked: "+key);
clientGet = new FCPClientGet(key, 4, 2, false, 1,
System.getProperty("java.io.tmpdir"));