From 055de6b29cc22e4f8d5786405694dba6e113321d Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 04 May 2007 01:31:44 +0000
Subject: [PATCH] Fix configuration problems that would cause the server to fail to start if an entry cache was enabled.

---
 opends/src/server/org/opends/server/extensions/EntryCacheCommon.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/extensions/EntryCacheCommon.java b/opends/src/server/org/opends/server/extensions/EntryCacheCommon.java
index af0f3ab..10abc6f 100644
--- a/opends/src/server/org/opends/server/extensions/EntryCacheCommon.java
+++ b/opends/src/server/org/opends/server/extensions/EntryCacheCommon.java
@@ -254,7 +254,7 @@
     HashSet<SearchFilter> searchFilters = new HashSet<SearchFilter>();
 
     // Convert the string filters to search filters.
-    if (filters != null)
+    if ((filters != null) && (! filters.isEmpty()))
     {
       for (String curFilter: filters)
       {

--
Gitblit v1.10.0