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/backends/jeb/TestVLVIndex.java | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/backends/jeb/TestVLVIndex.java b/opendj-server-legacy/src/test/java/org/opends/server/backends/jeb/TestVLVIndex.java
index d18ef03..f573d8a 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/backends/jeb/TestVLVIndex.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/backends/jeb/TestVLVIndex.java
@@ -94,12 +94,11 @@
TestCaseUtils.startServer();
TestCaseUtils.enableBackend(beID);
- SortKey[] sortKeys = new SortKey[3];
- sortKeys[0] = new SortKey(DirectoryServer.getAttributeType("givenname"), true);
- sortKeys[1] = new SortKey(DirectoryServer.getAttributeType("sn"),
- false);
- sortKeys[2] = new SortKey(
- DirectoryServer.getAttributeType("uid"), true);
+ SortKey[] sortKeys = new SortKey[] {
+ new SortKey(DirectoryServer.getAttributeTypeOrNull("givenname"), true),
+ new SortKey(DirectoryServer.getAttributeTypeOrNull("sn"), false),
+ new SortKey(DirectoryServer.getAttributeTypeOrNull("uid"), true),
+ };
sortOrder = new SortOrder(sortKeys);
aaccfJohnsonDN = DN.valueOf("uid=aaccf.johnson,dc=vlvtest,dc=com");
--
Gitblit v1.10.0