From 9f02386426b5bb5d931e92c80060fad06b693dd2 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Sun, 19 Aug 2007 00:07:10 +0000
Subject: [PATCH] Fix for issue 2112.

---
 opends/src/quicksetup/org/opends/quicksetup/webstart/WebStartDownloader.java |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/webstart/WebStartDownloader.java b/opends/src/quicksetup/org/opends/quicksetup/webstart/WebStartDownloader.java
index 0e2f1c3..e5ca041 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/webstart/WebStartDownloader.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/webstart/WebStartDownloader.java
@@ -40,6 +40,8 @@
 
 import org.opends.quicksetup.ApplicationException;
 import org.opends.quicksetup.ApplicationReturnCode;
+import org.opends.server.util.SetupUtils;
+
 import static org.opends.quicksetup.util.Utils.*;
 import static org.opends.messages.QuickSetupMessages.*;
 
@@ -53,8 +55,7 @@
  * not finished the WebStartInstaller will be on the
  * ProgressStep.DOWNLOADING step.
  */
-public class WebStartDownloader implements DownloadServiceListener,
-        JnlpProperties {
+public class WebStartDownloader implements DownloadServiceListener {
 
 
 
@@ -65,7 +66,7 @@
   static public String getZipFileName()
   {
     // Passed as a java option in the JNLP file
-    return System.getProperty(ZIP_FILE_NAME);
+    return System.getProperty(SetupUtils.ZIP_FILE_NAME);
   }
 
   private ApplicationException ex;
@@ -237,8 +238,8 @@
    * <CODE>true</CODE> the files will be re-downloaded even if they already
    * are on cache.
    * @param forceDownload used to ignore the case and force download.
-   * @throws MalformedURLException if there is an error with the URL that we
-   * get from the JnlpProperties.
+   * @throws MalformedURLException if there is an error with the URLs that we
+   * get from the property SetupUtils.LAZY_JAR_URLS
    * @throws IOException if a network problem occurs.
    */
   private void startDownload(boolean forceDownload)
@@ -415,7 +416,7 @@
    */
   private String[] getJarUrls()
   {
-    String jars = System.getProperty(LAZY_JAR_URLS);
+    String jars = System.getProperty(SetupUtils.LAZY_JAR_URLS);
     return jars.split(" ");
   }
 

--
Gitblit v1.10.0