From 754b6fe22c8138460bd93f2b0c9d725c627163c4 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 29 Oct 2014 16:33:54 +0000
Subject: [PATCH] OPENDJ-1571 Internal Error when doing REST operations on HTTP Connection Handler

---
 opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java b/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
index c8fa85b..3a93f86 100644
--- a/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
+++ b/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
@@ -22,7 +22,7 @@
  *
  *
  *      Copyright 2006-2009 Sun Microsystems, Inc.
- *      Portions Copyright 2011-2013 ForgeRock AS
+ *      Portions Copyright 2011-2014 ForgeRock AS
  */
 package org.opends.server.protocols.internal;
 
@@ -2079,7 +2079,7 @@
                             DereferencePolicy derefPolicy,
                             int sizeLimit, int timeLimit,
                             boolean typesOnly, String filterString,
-                            Set<String> attributes)
+                            LinkedHashSet<String> attributes)
          throws DirectoryException
   {
     return processSearch(rawBaseDN, scope, derefPolicy, sizeLimit,
@@ -2121,7 +2121,7 @@
                             DereferencePolicy derefPolicy,
                             int sizeLimit, int timeLimit,
                             boolean typesOnly, String filterString,
-                            Set<String> attributes,
+                            LinkedHashSet<String> attributes,
                             InternalSearchListener searchListener)
          throws DirectoryException
   {
@@ -2166,7 +2166,7 @@
                             DereferencePolicy derefPolicy,
                             int sizeLimit, int timeLimit,
                             boolean typesOnly, String filterString,
-                            Set<String> attributes,
+                            LinkedHashSet<String> attributes,
                             List<Control> controls,
                             InternalSearchListener searchListener)
          throws DirectoryException
@@ -2243,7 +2243,7 @@
                             DereferencePolicy derefPolicy,
                             int sizeLimit, int timeLimit,
                             boolean typesOnly, RawFilter filter,
-                            Set<String> attributes)
+                            LinkedHashSet<String> attributes)
   {
     return processSearch(rawBaseDN, scope, derefPolicy, sizeLimit,
                          timeLimit, typesOnly, filter, attributes,
@@ -2280,7 +2280,7 @@
                             DereferencePolicy derefPolicy,
                             int sizeLimit, int timeLimit,
                             boolean typesOnly, RawFilter filter,
-                            Set<String> attributes,
+                            LinkedHashSet<String> attributes,
                             InternalSearchListener searchListener)
   {
     return processSearch(rawBaseDN, scope, derefPolicy, sizeLimit,
@@ -2320,7 +2320,7 @@
                             DereferencePolicy derefPolicy,
                             int sizeLimit, int timeLimit,
                             boolean typesOnly, RawFilter filter,
-                            Set<String> attributes,
+                            LinkedHashSet<String> attributes,
                             List<Control> controls,
                             InternalSearchListener searchListener)
   {
@@ -2389,7 +2389,7 @@
                             DereferencePolicy derefPolicy,
                             int sizeLimit, int timeLimit,
                             boolean typesOnly, SearchFilter filter,
-                            Set<String> attributes)
+                            LinkedHashSet<String> attributes)
   {
     return processSearch(baseDN, scope, derefPolicy, sizeLimit,
                          timeLimit, typesOnly, filter, attributes,
@@ -2425,7 +2425,7 @@
                             DereferencePolicy derefPolicy,
                             int sizeLimit, int timeLimit,
                             boolean typesOnly, SearchFilter filter,
-                            Set<String> attributes,
+                            LinkedHashSet<String> attributes,
                             InternalSearchListener searchListener)
   {
     return processSearch(baseDN, scope, derefPolicy, sizeLimit,
@@ -2464,7 +2464,7 @@
                             DereferencePolicy derefPolicy,
                             int sizeLimit, int timeLimit,
                             boolean typesOnly, SearchFilter filter,
-                            Set<String> attributes,
+                            LinkedHashSet<String> attributes,
                             List<Control> controls,
                             InternalSearchListener searchListener)
   {

--
Gitblit v1.10.0