INTEGRATION: CWS morejava (1.4.88); FILE MERGED

2005/08/26 13:59:08 fridrich_strba 1.4.88.1: Issue number:
Submitted by:  kendy
Reviewed by:   fridrich_strba
Allow compiling with jdk1.5.0 ("enum" is reserved word in java 5)
This commit is contained in:
Jens-Heiner Rechtien 2005-10-25 10:20:03 +00:00
parent 2143d4beac
commit e514d5b8bb

View file

@ -36,10 +36,10 @@ public class SelectPathVisualPanel extends javax.swing.JPanel {
OfficeInstallation orig = panel.getSelectedPath();
try {
Enumeration enum = SVersionRCFile.createInstance().getVersions();
Enumeration enumer = SVersionRCFile.createInstance().getVersions();
while (enum.hasMoreElements()) {
OfficeInstallation oi = (OfficeInstallation)enum.nextElement();
while (enumer.hasMoreElements()) {
OfficeInstallation oi = (OfficeInstallation)enumer.nextElement();
installationsComboBox.addItem(oi);
}
}