no message
authorfh <fh>
Fri, 31 Aug 2001 12:10:28 +0000 (12:10 +0000)
committerfh <fh>
Fri, 31 Aug 2001 12:10:28 +0000 (12:10 +0000)
source/mircoders/storage/DatabaseImcs.java

index b986be0..b67079e 100755 (executable)
@@ -22,24 +22,24 @@ public class DatabaseImcs extends Database implements StorageObject{
        private static DatabaseImcs instance;
 
        public static DatabaseImcs getInstance() throws StorageObjectException {
-                       if (instance == null) {
-               instance = new DatabaseImcs();
-               instance.myselfDatabase = instance;
-                       }
-               return instance;
+    if (instance == null) {
+                  instance = new DatabaseImcs();
+                  instance.myselfDatabase = instance;
+               }
+    return instance;
        }
 
        private DatabaseImcs() throws StorageObjectException
        {
-          super();
+      super();
                        this.cache = new HashMap();
                        this.hasTimestamp = false;
-                       this.theTable="imc";
+                       this.theTable="links_imc";
                        try {
-               this.theEntityClass = Class.forName("mircoders.entity.EntityImcs");
+                   this.theEntityClass = Class.forName("mircoders.entity.EntityImcs");
                        }
                        catch (Exception e) {
-               throw new StorageObjectException(e.toString());
+                   throw new StorageObjectException(e.toString());
                        }
 
        }
@@ -47,7 +47,4 @@ public class DatabaseImcs extends Database implements StorageObject{
        public SimpleList getPopupData() {
                return getPopupData("title",true);
        }
-
-
-
-}
+}
\ No newline at end of file