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/server/org/opends/server/tools/JavaPropertiesToolArgumentParser.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/tools/JavaPropertiesToolArgumentParser.java b/opendj3-server-dev/src/server/org/opends/server/tools/JavaPropertiesToolArgumentParser.java
index 910b575..eab5546 100644
--- a/opendj3-server-dev/src/server/org/opends/server/tools/JavaPropertiesToolArgumentParser.java
+++ b/opendj3-server-dev/src/server/org/opends/server/tools/JavaPropertiesToolArgumentParser.java
@@ -28,6 +28,7 @@
import static org.opends.messages.ToolMessages.*;
import static com.forgerock.opendj.cli.Utils.canWrite;
+import static com.forgerock.opendj.util.OperatingSystem.isWindows;
import java.io.File;
import java.util.LinkedHashSet;
@@ -164,7 +165,7 @@
if (root != null)
{
String libDir = Utils.getPath(root, Installation.LIBRARIES_PATH_RELATIVE);
- if (Utils.isWindows())
+ if (isWindows())
{
value = Utils.getPath(libDir,
Installation.SET_JAVA_PROPERTIES_FILE_WINDOWS);
@@ -179,7 +180,7 @@
{
// This can happen when we are not launched using the command-line (for
// instance from the WebInstaller).
- if (Utils.isWindows())
+ if (isWindows())
{
value = Utils.getPath(Installation.LIBRARIES_PATH_RELATIVE,
Installation.SET_JAVA_PROPERTIES_FILE_WINDOWS);
--
Gitblit v1.10.0