From 4f6891a8bd4d017a41b5f75748398ff59787501c Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 15 Oct 2015 19:38:35 +0000
Subject: [PATCH] Renamed DirectoryServer.getAttributeType() to DirectoryServer.getAttributeTypeOrNull().
---
opendj-server-legacy/src/test/java/org/opends/server/plugins/LastModPluginTestCase.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/plugins/LastModPluginTestCase.java b/opendj-server-legacy/src/test/java/org/opends/server/plugins/LastModPluginTestCase.java
index fffbfa6..07ab0e7 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/plugins/LastModPluginTestCase.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/plugins/LastModPluginTestCase.java
@@ -173,10 +173,10 @@
public void testInitializeWithValidConfigsWithoutSchema(Entry e)
throws Exception
{
- AttributeType ctType = DirectoryServer.getAttributeType("createtimestamp");
- AttributeType cnType = DirectoryServer.getAttributeType("creatorsname");
- AttributeType mtType = DirectoryServer.getAttributeType("modifytimestamp");
- AttributeType mnType = DirectoryServer.getAttributeType("modifiersname");
+ AttributeType ctType = DirectoryServer.getAttributeTypeOrNull("createtimestamp");
+ AttributeType cnType = DirectoryServer.getAttributeTypeOrNull("creatorsname");
+ AttributeType mtType = DirectoryServer.getAttributeTypeOrNull("modifytimestamp");
+ AttributeType mnType = DirectoryServer.getAttributeTypeOrNull("modifiersname");
DirectoryServer.deregisterAttributeType(ctType);
DirectoryServer.deregisterAttributeType(cnType);
--
Gitblit v1.10.0