commented out cache initialization until it works properly.
[mir.git] / source / mircoders / storage / DatabaseComment.java
index d819b11..2b8108c 100755 (executable)
@@ -34,15 +34,16 @@ public class DatabaseComment extends Database implements StorageObject{
        {
                super();
                this.hasTimestamp = false;
-               this.cache = new HashMap();
+               ////this.cache = new HashMap();
                this.theTable="comment";
                try {
-                       this.theEntityClass = Class.forName("mir.entity.EntityComment");
+                       this.theEntityClass = Class.forName("mircoders.entity.EntityComment");
                }
                catch (Exception e) { throw new StorageObjectException(e.toString());   }
        }
 
-       public SimpleList getPopupData() { return getPopupData("title",true); }
+       public SimpleList getPopupData()
+        throws StorageObjectException { return getPopupData("title",true); }
 
        public boolean deleteByContentId(String id)
                throws StorageObjectException {