From b37aa637215bb61cee6f30651e52640128b08b8a Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 26 Nov 2008 10:05:42 +0000
Subject: [PATCH] Use the ControlPanelLog class to know if there is a log file or not.
---
opends/src/guitools/org/opends/guitools/controlpanel/ControlPanelLauncher.java | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/ControlPanelLauncher.java b/opends/src/guitools/org/opends/guitools/controlpanel/ControlPanelLauncher.java
index 322a854..100457f 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/ControlPanelLauncher.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/ControlPanelLauncher.java
@@ -43,7 +43,6 @@
import org.opends.messages.AdminToolMessages;
import org.opends.messages.Message;
import org.opends.quicksetup.Installation;
-import org.opends.quicksetup.QuickSetupLog;
import org.opends.quicksetup.util.Utils;
import org.opends.server.util.ServerConstants;
import org.opends.server.util.StaticUtils;
@@ -131,9 +130,9 @@
if (exitCode != 0)
{
String logFileName = null;
- if (QuickSetupLog.getLogFile() != null)
+ if (ControlPanelLog.getLogFile() != null)
{
- logFileName = QuickSetupLog.getLogFile().toString();
+ logFileName = ControlPanelLog.getLogFile().toString();
}
if (logFileName != null)
{
@@ -233,7 +232,7 @@
catch (InterruptedException ie)
{
/* An error occurred, so the return value will be -1. We got nothing to
- do with this exception. */
+ do with this exception. */
}
System.setErr(printStream);
return returnValue[0];
--
Gitblit v1.10.0