From 061e0172510debb6cd8920caa717c29a10e1b233 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Thu, 01 Mar 2007 23:48:24 +0000
Subject: [PATCH] Fixed spelling error of a debug method (org.opends.server.loggers.debug.DebugLogger.debugCought should be debugCaught).
---
opends/src/server/org/opends/server/backends/jeb/BackupManager.java | 50 +++++++++++++++++++++++++-------------------------
1 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/opends/src/server/org/opends/server/backends/jeb/BackupManager.java b/opends/src/server/org/opends/server/backends/jeb/BackupManager.java
index e44966b..c085221 100644
--- a/opends/src/server/org/opends/server/backends/jeb/BackupManager.java
+++ b/opends/src/server/org/opends/server/backends/jeb/BackupManager.java
@@ -69,7 +69,7 @@
import java.util.zip.ZipInputStream;
import java.util.zip.ZipOutputStream;
-import static org.opends.server.loggers.debug.DebugLogger.debugCought;
+import static org.opends.server.loggers.debug.DebugLogger.debugCaught;
import static org.opends.server.loggers.debug.DebugLogger.debugEnabled;
import org.opends.server.types.DebugLogLevel;
import static org.opends.server.loggers.Error.logError;
@@ -156,7 +156,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
throw new DirectoryException(DirectoryServer.getServerErrorResultCode(),
e.getMessage(),
@@ -202,7 +202,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
int msgID = MSGID_JEB_BACKUP_CANNOT_GET_MAC;
@@ -225,7 +225,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
int msgID = MSGID_JEB_BACKUP_CANNOT_GET_DIGEST;
@@ -351,7 +351,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
int msgID = MSGID_JEB_BACKUP_CANNOT_CREATE_ARCHIVE_FILE;
@@ -379,7 +379,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
int msgID = MSGID_JEB_BACKUP_CANNOT_GET_CIPHER;
@@ -446,7 +446,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
msgID = MSGID_JEB_BACKUP_CANNOT_LIST_LOG_FILES;
@@ -469,7 +469,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
msgID = MSGID_JEB_BACKUP_CANNOT_WRITE_ARCHIVE_FILE;
message = getMessage(msgID, ZIPENTRY_EMPTY_PLACEHOLDER,
@@ -551,7 +551,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
msgID = MSGID_JEB_BACKUP_CANNOT_WRITE_ARCHIVE_FILE;
message = getMessage(msgID, zipEntryName,
@@ -583,7 +583,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
// A log file has been deleted by the cleaner since we started.
@@ -593,7 +593,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
msgID = MSGID_JEB_BACKUP_CANNOT_WRITE_ARCHIVE_FILE;
message = getMessage(msgID, logFile.getName(),
@@ -633,7 +633,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
msgID = MSGID_JEB_BACKUP_CANNOT_LIST_LOG_FILES;
@@ -668,7 +668,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
try
@@ -687,7 +687,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
msgID = MSGID_JEB_BACKUP_CANNOT_CLOSE_ZIP_STREAM;
@@ -732,7 +732,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
msgID = MSGID_JEB_BACKUP_CANNOT_UPDATE_BACKUP_DESCRIPTOR;
@@ -773,7 +773,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
throw new DirectoryException(DirectoryServer.getServerErrorResultCode(),
e.getMessage(),
@@ -807,7 +807,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
int msgID = MSGID_JEB_BACKUP_CANNOT_RESTORE;
String message = getMessage(msgID, backupInfo.getBackupID(),
@@ -828,7 +828,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
int msgID = MSGID_JEB_BACKUP_CANNOT_RESTORE;
String message = getMessage(msgID, dependent.getBackupID(),
@@ -847,7 +847,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
int msgID = MSGID_JEB_BACKUP_CANNOT_RESTORE;
String message = getMessage(msgID, backupInfo.getBackupID(),
@@ -910,7 +910,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
throw new DirectoryException(DirectoryServer.getServerErrorResultCode(),
e.getMessage(),
@@ -925,7 +925,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
int msgID = MSGID_JEB_BACKUP_CANNOT_UPDATE_BACKUP_DESCRIPTOR;
@@ -999,7 +999,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
int msgID = MSGID_JEB_BACKUP_CANNOT_GET_MAC;
@@ -1022,7 +1022,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
int msgID = MSGID_JEB_BACKUP_CANNOT_GET_DIGEST;
@@ -1050,7 +1050,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
int msgID = MSGID_JEB_BACKUP_CANNOT_GET_CIPHER;
@@ -1394,7 +1394,7 @@
{
if (debugEnabled())
{
- debugCought(DebugLogLevel.ERROR, e);
+ debugCaught(DebugLogLevel.ERROR, e);
}
int msgID = MSGID_JEB_BACKUP_CANNOT_GET_CIPHER;
--
Gitblit v1.10.0