velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Attila Szegedi" <szege...@freemail.hu>
Subject Re: cvs commit: jakarta-velocity/src/java/org/apache/velocity/util/introspection ClassMap.java Introspector.java
Date Mon, 10 Sep 2001 14:38:07 GMT
If I REALLY want to split hairs, then I'd say that in clearCache() you could
do "classByName = new HashMap()" instead of "classByName.clear()". This is
similar to what you proposed for "classMethodMaps.clear()" (but which in
that particular case is bad because of synchronization issues I described in
an earlier post).

Attila.

----- Original Message -----
From: <geirm@apache.org>
To: <jakarta-velocity-cvs@apache.org>
Sent: 2001. szeptember 10. 12:36
Subject: cvs commit:
jakarta-velocity/src/java/org/apache/velocity/util/introspection
ClassMap.java Introspector.java


> geirm       01/09/10 03:36:09
>
>   Modified:    src/java/org/apache/velocity/util/introspection
>                         ClassMap.java Introspector.java
>   Log:
>   PROVISIONAL changes to Introspector that mix reengineering by
>   Atilla Szegedi and a patch to revert *that* back to using
>   Class as the key to the map, with a second map to hold
>   name->class for dumping.
>
>   I think I got it all together correctly - if not, yell :)
>



Mime
View raw message