This is fixed in the source control head. If you are compiling from scratch, download with svn or take the nightly snapshot. It's pretty stable.

WILL

jx sun wrote:
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


--
Forio Business Simulations

Will Glass-Husain
phone (415) 440-7500 x89
mobile (415) 235-4293
[EMAIL PROTECTED]
www.forio.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to