From 81d36161ce5367fa7aa9a5d99dc8b80eacfa7cdf Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Fri, 24 Jan 2014 14:43:46 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1288 :    Migrate I18n and logging support to i18n framework and SLF4J

---
 opendj3-server-dev/resource/Messages.java.stub |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/opendj3-server-dev/resource/Messages.java.stub b/opendj3-server-dev/resource/Messages.java.stub
index 6a9d9f2..4cd7e26 100644
--- a/opendj3-server-dev/resource/Messages.java.stub
+++ b/opendj3-server-dev/resource/Messages.java.stub
@@ -22,28 +22,29 @@
  *
  *
  *      Copyright 2006-2008 Sun Microsystems, Inc.
+ *      Portions Copyright 2014 ForgeRock AS
  */
 
 package ${PACKAGE};
 
-import org.opends.messages.MessageDescriptor;
-import static org.opends.messages.Category.*;
-import static org.opends.messages.Severity.*;
+//import org.opends.messages.MessageDescriptor;
+import org.forgerock.i18n.LocalizableMessageDescriptor;
+
+//import static org.opends.messages.Category.*;
+//import static org.opends.messages.Severity.*;
 
 /**
  * This file contains a number of constants that are used throughout the
  * Directory Server source.  It was dynamically generated as part of the
  * Directory Server build process and should not be edited directly.
  */
-@org.opends.server.types.PublicAPI(
-    stability=org.opends.server.types.StabilityLevel.PRIVATE,
-    mayInstantiate=false,
-    mayExtend=false,
-    mayInvoke=true)
 public final class ${CLASS_NAME} {
 
   /** Base property for resource bundle containing messages */
-  private static final String BASE = "messages/${BASE}";
+  //private static final String BASE = "messages/${BASE}";
+
+  // The name of the resource bundle.
+  private static final String RESOURCE = "messages.${BASE}";
 
   private static ClassLoader webstartClassLoader;
 

--
Gitblit v1.10.0