From afa089fedd62a29826d57cc34293ad5e0e6a4efd Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Wed, 26 Mar 2014 13:15:01 +0000
Subject: [PATCH] Replaced OperatingSystem class by its SDK class.
---
opendj3-server-dev/src/quicksetup/org/opends/quicksetup/webstart/WebStartDownloader.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/webstart/WebStartDownloader.java b/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/webstart/WebStartDownloader.java
index 8063fbe..d9128be 100644
--- a/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/webstart/WebStartDownloader.java
+++ b/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/webstart/WebStartDownloader.java
@@ -48,6 +48,7 @@
import static org.opends.quicksetup.util.Utils.*;
import static org.opends.messages.QuickSetupMessages.*;
+import static com.forgerock.opendj.util.OperatingSystem.isWindows;
/**
* This class is used to download the files that have been marked as lazy
@@ -249,7 +250,7 @@
logger.error(LocalizableMessage.raw("Could not find service: "+
Utils.JNLP_SERVICE_NAME, e));
String setupFile;
- if (Utils.isWindows())
+ if (isWindows())
{
setupFile = Installation.WINDOWS_SETUP_FILE_NAME;
}
--
Gitblit v1.10.0