From: <jtc...@li...> - 2004-06-28 11:51:52
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22520/source/frost Modified Files: SettingsClass.java Log Message: Refactoring: some variables renamed from "enum" to "enumeration", to be able to easily compile it with java 1.5 (by popular request) Index: SettingsClass.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/SettingsClass.java,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** SettingsClass.java 26 Apr 2004 16:30:33 -0000 1.62 --- SettingsClass.java 28 Jun 2004 11:51:43 -0000 1.63 *************** *** 675,681 **** public boolean save() { if (updaters != null) { ! Enumeration enum = updaters.elements(); ! while (enum.hasMoreElements()) { ! ((SettingsUpdater) enum.nextElement()).updateSettings(); } } --- 675,681 ---- public boolean save() { if (updaters != null) { ! Enumeration enumeration = updaters.elements(); ! while (enumeration.hasMoreElements()) { ! ((SettingsUpdater) enumeration.nextElement()).updateSettings(); } } |