From fe9a2bf50a9632023fcb1d0c27ad1664e48b91b7 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Thu, 17 May 2007 19:49:07 +0000
Subject: [PATCH] The upgrader writes a log in the history directory that contains information about attempts to upgrade and contains references to the current and upgrade build.  Formerly these were SVN revision numbers which is not very informative to humans.  This commit writes the build's major, minor, point and revision numbers in the historical log.

---
 opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/HistoricalLog.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/HistoricalLog.java b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/HistoricalLog.java
index 5144c5b..5c95aee 100644
--- a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/HistoricalLog.java
+++ b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/HistoricalLog.java
@@ -28,6 +28,7 @@
 package org.opends.quicksetup.upgrader;
 
 import org.opends.quicksetup.util.Utils;
+import org.opends.quicksetup.BuildInformation;
 
 import java.util.List;
 import java.util.ArrayList;
@@ -82,7 +83,7 @@
    * @return Long operation ID that can be used in writing future logs
    * @throws IOException if there is a problem appending the log to the file
    */
-  public Long append(Integer from, Integer to,
+  public Long append(BuildInformation from, BuildInformation to,
                      HistoricalRecord.Status status, String note)
           throws IOException
   {
@@ -105,7 +106,7 @@
    * @param note optional string with additional information
    * @throws IOException if there is a problem appending the log to the file
    */
-  public void append(Long id, Integer from, Integer to,
+  public void append(Long id, BuildInformation from, BuildInformation to,
                      HistoricalRecord.Status status, String note)
           throws IOException
   {

--
Gitblit v1.10.0