mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Nicolas Capponi
24.43.2014 81d36161ce5367fa7aa9a5d99dc8b80eacfa7cdf
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);