From 4bed4a99e8e37c7e1cbcbcb1eec5ecb8e6360809 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 01 Jun 2016 10:14:34 +0000
Subject: [PATCH] OPENDJ-3037 Remove DirectoryServer.getDefault*Syntax() methods

---
 opendj-server-legacy/src/main/java/org/opends/server/api/MonitorData.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/api/MonitorData.java b/opendj-server-legacy/src/main/java/org/opends/server/api/MonitorData.java
index 47ac6fc..16d400c 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/api/MonitorData.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/api/MonitorData.java
@@ -95,19 +95,19 @@
         || attrValue instanceof Double)
     {
       // coming first because they are the most common types
-      syntax = getDefaultStringSyntax();
+      syntax = CoreSchema.getDirectoryStringSyntax();
     }
     else if (attrValue instanceof Number)
     {
-      syntax = getDefaultIntegerSyntax();
+      syntax = CoreSchema.getIntegerSyntax();
     }
     else if (attrValue instanceof Boolean)
     {
-      syntax = getDefaultBooleanSyntax();
+      syntax = CoreSchema.getBooleanSyntax();
     }
     else if (attrValue instanceof DN)
     {
-      syntax = getDefaultDNSyntax();
+      syntax = CoreSchema.getDNSyntax();
     }
     else if (attrValue instanceof Date)
     {
@@ -125,7 +125,7 @@
     }
     else
     {
-      syntax = getDefaultStringSyntax();
+      syntax = CoreSchema.getDirectoryStringSyntax();
     }
     add(attrName, syntax, attrValue);
   }

--
Gitblit v1.10.0