[CVS nanning] decreased memory usage
Lecando Shared <[email protected]> Mon, 1 Sep 2003 06:57:04 -0500
| Newsgroups | gmane.comp.java.nanning.devel |
|---|---|
| Message-ID | <200309011157.h81Bv4w17186__32356.6202343956$1062416770@hogshead.codehaus.org> |
<html>
<head>
<style><!--
body {background-color:#ffffff;}
.file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
.pathname {font-family:monospace; float:right;}
.fileheader {margin-bottom:.5em;}
.diff {margin:0;}
.tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
.tasklist ul {margin-top:0;margin-bottom:0;}
tr.alt {background-color:#eeeeee}
#added {background-color:#ddffdd;}
#addedchars {background-color:#99ff99;font-weight:bolder;}
tr.alt #added {background-color:#ccf7cc;}
#removed {background-color:#ffdddd;}
#removedchars {background-color:#ff9999;font-weight:bolder;}
tr.alt #removed {background-color:#f7cccc;}
#info {color:#888888;}
#context {background-color:#eeeeee;}
td {padding-left:.3em;padding-right:.3em;}
tr.head {border-bottom-width:1px;border-bottom-style:solid;}
tr.head td {padding:0;padding-top:.2em;}
.task {background-color:#ffff00;}
.comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd}
.error {color:red;}
hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="4">Commit in <b><tt>nanning/src/main/org/codehaus/nanning</tt></b> on <span id="info">MAIN</span></td></tr>
<tr><td><tt><a href="#file1">Mixin.java</a></tt></td><td align="right" id="added">+4</td><td align="right" id="removed">-4</td><td nowrap="nowrap" align="center">1.2 -> 1.3</td></tr>
</table>
<pre class="comment">
decreased memory usage
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname">nanning/src/main/org/codehaus/nanning<br /></span>
<div class="fileheader"><big><b>Mixin.java</b></big> <small id="info">1.2 -> 1.3</small></div>
<pre class="diff"><small id="info">diff -u -r1.2 -r1.3
--- Mixin.java 29 Aug 2003 15:20:31 -0000 1.2
+++ Mixin.java 1 Sep 2003 11:57:04 -0000 1.3
@@ -34,10 +34,10 @@
</small></pre><pre class="diff" id="context"> }
</code></pre>
*
</pre><pre class="diff" id="removed">- * <!-- $Id: Mixin.java,v 1.<span id="removedchars">2 2003/08/29 15:20:31</span> lecando Exp $ -->
</pre><pre class="diff" id="added">+ * <!-- $Id: Mixin.java,v 1.<span id="addedchars">3 2003/09/01 11:57:04</span> lecando Exp $ -->
</pre><pre class="diff" id="context"> *
* @author $Author: lecando $
</pre><pre class="diff" id="removed">- * @version $Revision: 1.<span id="removedchars">2</span> $
</pre><pre class="diff" id="added">+ * @version $Revision: 1.<span id="addedchars">3</span> $
</pre><pre class="diff" id="context"> */
public class Mixin implements Serializable {
static final long serialVersionUID = 7386027290257587762L;
</pre><pre class="diff"><small id="info">@@ -45,7 +45,7 @@
</small></pre><pre class="diff" id="context"> private Class interfaceClass;
private Object target;
</pre><pre class="diff" id="removed">- private transient Map methodInterceptors = new HashMap();
</pre><pre class="diff" id="added">+ private transient Map methodInterceptors = new HashMap(<span id="addedchars">2</span>);
</pre><pre class="diff" id="context">
public Mixin() {
}
</pre><pre class="diff"><small id="info">@@ -88,7 +88,7 @@
</small></pre><pre class="diff" id="context">
public List getInterceptorsForMethod(Method method) {
if (methodInterceptors == null) {
</pre><pre class="diff" id="removed">- methodInterceptors = new HashMap();
</pre><pre class="diff" id="added">+ methodInterceptors = new HashMap(<span id="addedchars">2</span>);
</pre><pre class="diff" id="context"> }
List interceptors = (List) methodInterceptors.get(method);
if (interceptors == null) {
</pre></div>
</body></html>