Author: xor
Date: 2008-11-15 22:09:41 +0000 (Sat, 15 Nov 2008)
New Revision: 23608

Modified:
   trunk/plugins/WoT/OwnIdentity.java
Log:
Set edition to 0 at creation.

Modified: trunk/plugins/WoT/OwnIdentity.java
===================================================================
--- trunk/plugins/WoT/OwnIdentity.java  2008-11-15 22:08:54 UTC (rev 23607)
+++ trunk/plugins/WoT/OwnIdentity.java  2008-11-15 22:09:41 UTC (rev 23608)
@@ -68,6 +68,7 @@
                super(requestURI, nickName, publishTrustList);
                setInsertURI(insertURI);
                setLastInsert(new Date(0));
+               setEdition(0);
        }
        
        /**
@@ -297,7 +298,7 @@
         * @param key this OwnIdentity's insertURI
         * @throws InvalidParameterException if the supplied key is neither a 
USK nor a SSK
         */
-       public void setInsertURI(FreenetURI key) throws 
InvalidParameterException {
+       private void setInsertURI(FreenetURI key) throws 
InvalidParameterException {
                if(key.getKeyType().equals("SSK")) key = key.setKeyType("USK");
                if(!key.getKeyType().equals("USK")) throw new 
InvalidParameterException("Key type not supported");
 

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to