Author: dgeraskov
Date: 2008-02-08 06:33:46 -0500 (Fri, 08 Feb 2008)
New Revision: 6202
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/AddConfigurationAction.java
Log:
compile error fixed
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/AddConfigurationAction.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/AddConfigurationAction.java 2008-02-08
11:25:52 UTC (rev 6201)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/AddConfigurationAction.java 2008-02-08
11:33:46 UTC (rev 6202)
@@ -87,7 +87,7 @@
wc.setAttribute(TEMPORARY_CONFIG_FLAG, true);
ILaunchConfiguration saved = wc.doSave();
int res = DebugUITools.openLaunchConfigurationPropertiesDialog(
part.getSite().getShell(), saved, "org.eclipse.debug.ui.launchGroup.run" );
- List<ILaunchConfiguration> listTempConfigs = new
ArrayList<ILaunchConfiguration>();
+ List listTempConfigs = new ArrayList();
ILaunchConfiguration[] configs =
launchManager.getLaunchConfigurations(launchConfigurationType);
for (int i = 0; i < configs.length; i++) {
boolean temporary =
configs[i].getAttribute(AddConfigurationAction.TEMPORARY_CONFIG_FLAG, false);
@@ -97,11 +97,11 @@
}
if (res != Window.OK) {
for (int i = 0; i < listTempConfigs.size(); i++) {
- listTempConfigs.get(i).delete();
+ ((ILaunchConfiguration)listTempConfigs.get(i)).delete();
}
} else {
for (int i = 0; i < listTempConfigs.size(); i++) {
- wc = listTempConfigs.get(i).getWorkingCopy();
+ wc = ((ILaunchConfiguration)listTempConfigs.get(i)).getWorkingCopy();
wc.setAttribute(TEMPORARY_CONFIG_FLAG, (String)null); // Must be set to null since
it should never be in the actual saved configuration!
wc.doSave();
}
Show replies by date