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/StopWindowsService.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/tools/StopWindowsService.java b/opendj3-server-dev/src/server/org/opends/server/tools/StopWindowsService.java
index 65b058a..51a9257 100644
--- a/opendj3-server-dev/src/server/org/opends/server/tools/StopWindowsService.java
+++ b/opendj3-server-dev/src/server/org/opends/server/tools/StopWindowsService.java
@@ -33,10 +33,10 @@
import org.opends.server.loggers.JDKLogging;
import org.opends.server.types.NullOutputStream;
-import org.opends.server.util.SetupUtils;
import static org.opends.messages.ToolMessages.*;
import static org.opends.server.util.StaticUtils.*;
+import static com.forgerock.opendj.util.OperatingSystem.hasUAC;
/**
@@ -98,7 +98,7 @@
else
{
String[] cmd;
- if (SetupUtils.hasUAC())
+ if (hasUAC())
{
cmd= new String[] {
ConfigureWindowsService.getLauncherBinaryFullPath(),
--
Gitblit v1.10.0