X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=source%2Fmircoders%2Fentity%2FEntityBreaking.java;h=4b430d83bdab755f0eaba6f93ea5692f2069b54b;hb=831225b6a524c40cb4f1db71a0c53297eefd8234;hp=bb8016f5975a396532c03c1215c9510f5dafd345;hpb=635db236fe78484b5f7f0158ad8054b189bf7a79;p=mir.git diff --git a/source/mircoders/entity/EntityBreaking.java b/source/mircoders/entity/EntityBreaking.java index bb8016f5..4b430d83 100755 --- a/source/mircoders/entity/EntityBreaking.java +++ b/source/mircoders/entity/EntityBreaking.java @@ -14,28 +14,13 @@ import java.io.*; import java.util.*; import java.sql.*; -import webdb.entity.*; -import webdb.misc.*; -import webdb.storage.*; +import mir.entity.*; +import mir.misc.*; +import mir.storage.*; -public class EntityBreaking extends AbstractEntity implements Entity +public class EntityBreaking extends Entity { - private static int instances; - - public EntityBreaking() { super(); instances++; } + public EntityBreaking() { super(); } public EntityBreaking(StorageObject theStorage) { this(); setStorage(theStorage); } - public void finalize() { - instances--; - super.finalize(); - } - - - public HashMap getValues() { - HashMap returnHash = super.getValues(); - String date=null; - if ((date=(String)returnHash.get("webdb_create"))!=null) - returnHash.put("webdb_create_formatted", StringUtil.dateToReadableDate(date)); - return returnHash; - } }