At least 2 classes of velocity1.4 has var 'enum' which is a left word in
jdk1.5
1, org.apache.velocity.texen.Generator 's
protected void fillContextHash (Context context, Hashtable objs)
{
Enumeration enum_ = objs.keys();
while (enum_.hasMoreElements())
{
String key = enum_.nextElement().toString();
context.put (key, objs.get(key));
}
}
2,org.apache.velocity.util.EnumerationIterator's
private Enumeration enum = null;
at least Eclipse 3.1 with jdk1.5 will say : "Synax error on token
"enum",delete the token" to you .
------------------------------
jyanshine - Shanghai
[EMAIL PROTECTED]
2006-07-21