Author: toad
Date: 2008-04-05 10:24:44 +0000 (Sat, 05 Apr 2008)
New Revision: 19003

Modified:
   trunk/freenet/src/freenet/clients/http/bookmark/BookmarkItem.java
Log:
key too

Modified: trunk/freenet/src/freenet/clients/http/bookmark/BookmarkItem.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/bookmark/BookmarkItem.java   
2008-04-05 10:22:02 UTC (rev 19002)
+++ trunk/freenet/src/freenet/clients/http/bookmark/BookmarkItem.java   
2008-04-05 10:24:44 UTC (rev 19003)
@@ -37,6 +37,7 @@
         this.alerts = uam;
         alert = new BookmarkUpdatedUserAlert();
         assert(name != null);
+        assert(key != null);
     }

     public BookmarkItem(String line, UserAlertManager uam) throws 
MalformedURLException {
@@ -47,6 +48,8 @@
         this.key = new FreenetURI(result[3]);
         this.alerts = uam;
         this.alert = new BookmarkUpdatedUserAlert();
+        assert(name != null);
+        assert(key != null);
     }

     public BookmarkItem(SimpleFieldSet sfs, UserAlertManager uam) throws 
FSParseException, MalformedURLException {


Reply via email to