From: Alexis O'C. <ale...@ou...> - 2006-10-18 11:48:48
|
Alexis O'Connor wrote: > Alistair Young wrote: >> got a problem from the 2.8 release >> >> org.bodington.logbook.server.LogBookSessionImpl::getEntriesInOrder() >> ... >> Enumeration enum = ... >> ... >> >> enum is a reserved word in 1.5 so bod won't compile under 1.5 any more >> >> Alistair >> >> > > Yep, some time ago I altered all the variables named 'enum' to 'enumeration' > (~800!). These have started to creep back in - who, I don't know as I'm not > clever enough to use the 'CVS annotate' function in Eclipse ;-). Unless anyone > has a better idea, renaming them according to the above is probably as good a > strategy as any. > > Alexis > (Apologies for replying to my own e-mail). As a related aside, I think that it's an unwritten rule that we should probably still be compiling against a v1.4.2 JDK with source and class compliance set to version 1.4. This way ("Sakai style"!) one can still *run* on JDK 1.5 / Tomcat 5.5 for performance reasons, whilst still keeping an eye on backwards compatability. Alexis |