Fixed the breaking news deletion bug, this time for real
authorzapata <zapata>
Fri, 7 Feb 2003 14:43:52 +0000 (14:43 +0000)
committerzapata <zapata>
Fri, 7 Feb 2003 14:43:52 +0000 (14:43 +0000)
source/mircoders/storage/DatabaseBreaking.java

index cde6e06..83184ba 100755 (executable)
@@ -48,7 +48,7 @@ public class DatabaseBreaking extends Database implements StorageObject{
   // the following *has* to be sychronized cause this static method
   // could get preemted and we could end up with 2 instances of DatabaseFoo..
   // see the "Singletons with needles and thread" article at JavaWorld -mh
-  public synchronized static DatabaseBreaking getInstance() 
+  public synchronized static DatabaseBreaking getInstance()
     throws StorageObjectFailure {
     if (instance == null) {
       instance = new DatabaseBreaking();
@@ -62,10 +62,6 @@ public class DatabaseBreaking extends Database implements StorageObject{
     super();
     //this.cache = new DatabaseCache(4);
     this.theTable="breaking";
-    try {
-      this.theEntityClass = Class.forName("mircoders.entity.EntityBreaking");
-    }
-    catch (Exception e) { throw new StorageObjectFailure(e); }
   }