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/src/server/org/opends/server/admin/RelationDefinition.java |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/opendj3-server-dev/src/server/org/opends/server/admin/RelationDefinition.java b/opendj3-server-dev/src/server/org/opends/server/admin/RelationDefinition.java
index 4af0601..5617e63 100644
--- a/opendj3-server-dev/src/server/org/opends/server/admin/RelationDefinition.java
+++ b/opendj3-server-dev/src/server/org/opends/server/admin/RelationDefinition.java
@@ -26,7 +26,7 @@
  */
 
 package org.opends.server.admin;
-import org.opends.messages.Message;
+import org.forgerock.i18n.LocalizableMessage;
 
 
 
@@ -258,7 +258,7 @@
    *         the default locale, or <code>null</code> if there is no
    *         description.
    */
-  public final Message getDescription() {
+  public final LocalizableMessage getDescription() {
     return getDescription(Locale.getDefault());
   }
 
@@ -274,7 +274,7 @@
    *         the specified locale, or <code>null</code> if there is
    *         no description.
    */
-  public final Message getDescription(Locale locale) {
+  public final LocalizableMessage getDescription(Locale locale) {
     try {
       String property = "relation." + common.name + ".description";
       return ManagedObjectDefinitionI18NResource.getInstance().getMessage(
@@ -315,7 +315,7 @@
    * @return Returns the synopsis of this relation definition in the
    *         default locale.
    */
-  public final Message getSynopsis() {
+  public final LocalizableMessage getSynopsis() {
     return getSynopsis(Locale.getDefault());
   }
 
@@ -330,7 +330,7 @@
    * @return Returns the synopsis of this relation definition in the
    *         specified locale.
    */
-  public final Message getSynopsis(Locale locale) {
+  public final LocalizableMessage getSynopsis(Locale locale) {
     String property = "relation." + common.name + ".synopsis";
     return ManagedObjectDefinitionI18NResource.getInstance().getMessage(
         getParentDefinition(), property, locale);
@@ -345,7 +345,7 @@
    * @return Returns the user friendly name of this relation
    *         definition in the default locale.
    */
-  public final Message getUserFriendlyName() {
+  public final LocalizableMessage getUserFriendlyName() {
     return getUserFriendlyName(Locale.getDefault());
   }
 
@@ -360,7 +360,7 @@
    * @return Returns the user friendly name of this relation
    *         definition in the specified locale.
    */
-  public final Message getUserFriendlyName(Locale locale) {
+  public final LocalizableMessage getUserFriendlyName(Locale locale) {
     String property = "relation." + common.name + ".user-friendly-name";
     return ManagedObjectDefinitionI18NResource.getInstance().getMessage(
         getParentDefinition(), property, locale);

--
Gitblit v1.10.0