summaryrefslogtreecommitdiff
path: root/scripting/workben/installer/XmlUpdater.java
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/workben/installer/XmlUpdater.java')
-rw-r--r--scripting/workben/installer/XmlUpdater.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripting/workben/installer/XmlUpdater.java b/scripting/workben/installer/XmlUpdater.java
index 5f1c88c41e7e..5161350975d5 100644
--- a/scripting/workben/installer/XmlUpdater.java
+++ b/scripting/workben/installer/XmlUpdater.java
@@ -38,7 +38,7 @@ public class XmlUpdater extends Thread {
private JLabel statusLabel;
- private Vector listeners;
+ private Vector<InstallListener> listeners;
private Thread internalThread;
private boolean threadSuspended;
private JProgressBar progressBar;
@@ -107,7 +107,7 @@ public class XmlUpdater extends Thread {
this.statusLabel = statusLabel;
this.netInstall = netInstall;
this.bindingsInstall = bindingsInstall;
- listeners = new Vector();
+ listeners = new Vector<InstallListener>();
threadSuspended = false;
progressBar=pBar;
progressBar.setStringPainted(true);
@@ -432,10 +432,10 @@ public class XmlUpdater extends Thread {
private void onInstallComplete()
{
- Enumeration e = listeners.elements();
+ Enumeration<InstallListener> e = listeners.elements();
while (e.hasMoreElements())
{
- InstallListener listener = (InstallListener)e.nextElement();
+ InstallListener listener = e.nextElement();
listener.installationComplete(null);
}
}// onInstallComplete