From aad596c8559b3d3d081617736cdbeda1374f017b Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 11 May 2012 21:58:30 +0000
Subject: [PATCH] Fix OPENDJ-482: Validation for the CertificateSyntax

---
 opends/src/server/org/opends/server/schema/MatchingRuleSyntax.java |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/opends/src/server/org/opends/server/schema/MatchingRuleSyntax.java b/opends/src/server/org/opends/server/schema/MatchingRuleSyntax.java
index c72c31e..c90ccf9 100644
--- a/opends/src/server/org/opends/server/schema/MatchingRuleSyntax.java
+++ b/opends/src/server/org/opends/server/schema/MatchingRuleSyntax.java
@@ -23,7 +23,7 @@
  *
  *
  *      Copyright 2006-2009 Sun Microsystems, Inc.
- *      Portions Copyright 2011 ForgeRock AS
+ *      Portions Copyright 2011-2012 ForgeRock AS
  */
 package org.opends.server.schema;
 import org.opends.messages.Message;
@@ -396,7 +396,7 @@
     // for everything else we might need to know.
     ConcurrentHashMap<String,String> names =
          new ConcurrentHashMap<String,String>();
-    AttributeSyntax syntax = null;
+    AttributeSyntax<?> syntax = null;
     ConcurrentHashMap<String,CopyOnWriteArrayList<String>> extraProperties =
          new ConcurrentHashMap<String,CopyOnWriteArrayList<String>>();
 
@@ -1186,5 +1186,15 @@
   {
     return false;
   }
+
+
+
+  /**
+   * {@inheritDoc}
+   */
+  public boolean isHumanReadable()
+  {
+    return true;
+  }
 }
 

--
Gitblit v1.10.0