From 540ea316e77eb38f09a74b07365964c2a1161d8e Mon Sep 17 00:00:00 2001
From: Yannick Lecaillez <yannick.lecaillez@forgerock.com>
Date: Tue, 31 Mar 2015 16:02:26 +0000
Subject: [PATCH] OPENDJ-1199: Reduce memory/disk usage of JE backend (variable length encoding for EntryIDSet)

---
 opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DN2URI.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DN2URI.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DN2URI.java
index a92baee..200d24e 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DN2URI.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DN2URI.java
@@ -526,7 +526,7 @@
 
     try
     {
-      final Cursor cursor = txn.openCursor(getName());
+      final Cursor<ByteString, ByteString> cursor = txn.openCursor(getName());
       try
       {
         // Go up through the DIT hierarchy until we find a referral.
@@ -602,7 +602,7 @@
 
     try
     {
-      final Cursor cursor = txn.openCursor(getName());
+      final Cursor<ByteString, ByteString> cursor = txn.openCursor(getName());
       try
       {
         // Initialize the cursor very close to the starting value then

--
Gitblit v1.10.0