projects
/
mir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8a5b49b
)
let's see what happens in terms of memory usage/GC'ing if we comment out the finalize...
author
mh
<mh>
Thu, 7 Feb 2002 10:11:50 +0000
(10:11 +0000)
committer
mh
<mh>
Thu, 7 Feb 2002 10:11:50 +0000
(10:11 +0000)
source/mir/entity/Entity.java
patch
|
blob
|
history
diff --git
a/source/mir/entity/Entity.java
b/source/mir/entity/Entity.java
index
f0d165b
..
9b341b4
100755
(executable)
--- a/
source/mir/entity/Entity.java
+++ b/
source/mir/entity/Entity.java
@@
-171,8
+171,10
@@
public class Entity implements TemplateHashModel, TemplateModelRoot
this.changed = true;
if (isField(theProp))
theValuesHash.put(theProp, theValue);
this.changed = true;
if (isField(theProp))
theValuesHash.put(theProp, theValue);
- else
+ else {
+ System.err.println("Property not found: " + theProp+theValue);
theLog.printWarning("Property not found: " + theProp+theValue);
theLog.printWarning("Property not found: " + theProp+theValue);
+ }
}
}
@@
-253,7
+255,7
@@
public class Entity implements TemplateHashModel, TemplateModelRoot
/**
* Gibt eine Instanz frei
*/
/**
* Gibt eine Instanz frei
*/
- public void finalize () {
+
/*
public void finalize () {
instances--;
Integer i = new Integer(instances);
System.err.println("Removing abstract entity instance: "+i.toString());
instances--;
Integer i = new Integer(instances);
System.err.println("Removing abstract entity instance: "+i.toString());
@@
-262,7
+264,7
@@
public class Entity implements TemplateHashModel, TemplateModelRoot
} catch (Throwable t) {
System.err.println(t.toString());
}
} catch (Throwable t) {
System.err.println(t.toString());
}
- }
+ }
*/
// Now implements freemarkers TemplateHashModel
// Now implements freemarkers TemplateHashModel