new admin templates! with many thanks to init...
[mir.git] / source / mircoders / storage / DatabaseMessages.java
index 7a9848b..5457e73 100755 (executable)
@@ -31,8 +31,8 @@
 
 package mircoders.storage;
 
-import mir.log.LoggerWrapper;
-import mir.storage.Database;
+import mir.log.LoggerWrapper;\r
+import mir.storage.Database;\r
 import mir.storage.StorageObject;
 
 
@@ -47,12 +47,8 @@ import mir.storage.StorageObject;
 
 
 public class DatabaseMessages extends Database implements StorageObject{
-
   private static DatabaseMessages instance;
 
-  // 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 DatabaseMessages getInstance() {
     if (instance == null) {
       instance = new DatabaseMessages();