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/tools/LDAPConnection.java |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/opends/src/server/org/opends/server/tools/LDAPConnection.java b/opends/src/server/org/opends/server/tools/LDAPConnection.java
index 652a3c7..c5cd8c8 100644
--- a/opends/src/server/org/opends/server/tools/LDAPConnection.java
+++ b/opends/src/server/org/opends/server/tools/LDAPConnection.java
@@ -48,7 +48,7 @@
 import org.opends.server.types.Control;
 import org.opends.server.types.DebugLogLevel;
 
-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 static org.opends.server.messages.MessageHandler.*;
 import static org.opends.server.messages.CoreMessages.
@@ -175,7 +175,7 @@
       {
         if (debugEnabled())
         {
-          debugCought(DebugLogLevel.ERROR, ex);
+          debugCaught(DebugLogLevel.ERROR, ex);
         }
         throw new LDAPConnectionException(ex.getMessage(), ex);
       }
@@ -196,7 +196,7 @@
       {
         if (debugEnabled())
         {
-          debugCought(DebugLogLevel.ERROR, ex1);
+          debugCaught(DebugLogLevel.ERROR, ex1);
         }
         throw new LDAPConnectionException(ex1.getMessage(), ex1);
       }
@@ -247,7 +247,7 @@
     {
       if (debugEnabled())
       {
-        debugCought(DebugLogLevel.ERROR, ex2);
+        debugCaught(DebugLogLevel.ERROR, ex2);
       }
       throw new LDAPConnectionException(ex2.getMessage(), ex2);
     }
@@ -262,7 +262,7 @@
     {
       if (debugEnabled())
       {
-        debugCought(DebugLogLevel.ERROR, e);
+        debugCaught(DebugLogLevel.ERROR, e);
       }
       // It doesn't matter too much if this throws, so ignore it.
     }
@@ -403,14 +403,14 @@
     {
       if (debugEnabled())
       {
-        debugCought(DebugLogLevel.ERROR, ce);
+        debugCaught(DebugLogLevel.ERROR, ce);
       }
       throw new LDAPConnectionException(ce.getMessage(), ce.getExitCode(), ce);
     } catch(Exception ex)
     {
       if (debugEnabled())
       {
-        debugCought(DebugLogLevel.ERROR, ex);
+        debugCaught(DebugLogLevel.ERROR, ex);
       }
       throw new LDAPConnectionException(ex.getMessage(), ex);
     }

--
Gitblit v1.10.0