From 06fb11343c48ecbbceed1539c026c867dd5e4bec Mon Sep 17 00:00:00 2001
From: coulbeck <coulbeck@localhost>
Date: Mon, 09 Jul 2007 22:21:47 +0000
Subject: [PATCH] Fix for issue #1737: definitions of message IDs for some categories span multiple files. This changes the category of some messages to match the class in which they are defined. It also adds a unit test to prevent categories from spanning multiple files in future.

---
 opends/src/server/org/opends/server/messages/CoreMessages.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opends/src/server/org/opends/server/messages/CoreMessages.java b/opends/src/server/org/opends/server/messages/CoreMessages.java
index 27e6712..54350d9 100644
--- a/opends/src/server/org/opends/server/messages/CoreMessages.java
+++ b/opends/src/server/org/opends/server/messages/CoreMessages.java
@@ -3268,7 +3268,7 @@
    * problem that occurred.
    */
   public static final int MSGID_SHUTDOWN_CANNOT_RELEASE_SHARED_BACKEND_LOCK =
-       CATEGORY_MASK_CONFIG | SEVERITY_MASK_SEVERE_WARNING | 342;
+       CATEGORY_MASK_CORE | SEVERITY_MASK_SEVERE_WARNING | 342;
 
 
 
@@ -3290,7 +3290,7 @@
    * could not be released.
    */
   public static final int MSGID_CANNOT_RELEASE_EXCLUSIVE_SERVER_LOCK =
-       CATEGORY_MASK_CONFIG | SEVERITY_MASK_SEVERE_WARNING | 344;
+       CATEGORY_MASK_CORE | SEVERITY_MASK_SEVERE_WARNING | 344;
 
 
 
@@ -6001,7 +6001,7 @@
    * are the filter string and the start and end position of the NOT filter.
    */
   public static final int MSGID_SEARCH_FILTER_NOT_EXACTLY_ONE =
-       CATEGORY_MASK_PROTOCOL | SEVERITY_MASK_MILD_ERROR | 602;
+       CATEGORY_MASK_CORE | SEVERITY_MASK_MILD_ERROR | 602;
 
 
 

--
Gitblit v1.10.0