From 5adde80225f547ffe8d50ca83efd121e495d8e53 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Thu, 07 Jun 2007 17:31:48 +0000
Subject: [PATCH] This commit:

---
 opends/src/quicksetup/org/opends/quicksetup/CurrentInstallStatus.java |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/CurrentInstallStatus.java b/opends/src/quicksetup/org/opends/quicksetup/CurrentInstallStatus.java
index d2c6ad2..220c7f5 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/CurrentInstallStatus.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/CurrentInstallStatus.java
@@ -356,8 +356,7 @@
       if (index1 != -1)
       {
         int index2 =
-            getConfigFileContents().indexOf(
-                System.getProperty("line.separator"), index1);
+            getConfigFileContents().indexOf(Constants.LINE_SEPARATOR, index1);
         if (index2 != -1)
         {
           String sPort =
@@ -436,7 +435,7 @@
         // We do not care about encoding: we are just interested in the ports
         while ((line = in.readLine()) != null)
         {
-          buf.append(line + System.getProperty("line.separator"));
+          buf.append(line).append(Constants.LINE_SEPARATOR);
         }
         reader.close();
       } catch (IOException ioe)
@@ -473,7 +472,7 @@
     while (index1 != -1)
     {
       int index2 = getConfigFileContents().indexOf(
-            System.getProperty("line.separator"), index1);
+            Constants.LINE_SEPARATOR, index1);
       String value;
       if (index2 > (index1 + attrName.length()))
       {

--
Gitblit v1.10.0