From 130391e81525174e9733df37981be4055bbffca5 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 12 Jul 2013 10:27:23 +0000
Subject: [PATCH] *.java: Switched the use of collections concrete classes to interfaces.
---
opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciContainer.java | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciContainer.java b/opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciContainer.java
index 807f7f6..3e0b68d 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciContainer.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciContainer.java
@@ -34,7 +34,6 @@
import java.net.InetAddress;
import java.security.cert.Certificate;
import java.util.HashMap;
-import java.util.LinkedList;
import java.util.List;
import org.opends.server.api.ClientConnection;
@@ -57,7 +56,7 @@
/**
* The allow and deny lists.
*/
- private LinkedList<Aci> denyList, allowList;
+ private List<Aci> denyList, allowList;
/**
* The attribute type in the resource entry currently being evaluated.
@@ -338,7 +337,7 @@
}
/**
- * Set to true if an entry has already been processsed by an access proxy
+ * Set to true if an entry has already been processed by an access proxy
* check.
*
* @param val The value to set the seenEntry boolean to.
@@ -394,7 +393,7 @@
/**
* Return the list of additional attributes specified in the
- * geteffectiveritghts control.
+ * geteffectiverights control.
*
* @return The list of attributes to return rights information about in the
* entry.
@@ -526,7 +525,7 @@
/**
* Returns true if the geteffectiverights control's authZid DN is equal to the
- * authoritzation entry's DN.
+ * authorization entry's DN.
*
* @return True if the authZid is equal to the authorization entry's DN.
*/
@@ -553,7 +552,7 @@
* {@inheritDoc}
*/
@Override
- public void setDenyList(LinkedList<Aci> denys) {
+ public void setDenyList(List<Aci> denys) {
denyList=denys;
}
@@ -561,7 +560,7 @@
* {@inheritDoc}
*/
@Override
- public void setAllowList(LinkedList<Aci> allows) {
+ public void setAllowList(List<Aci> allows) {
allowList=allows;
}
@@ -649,7 +648,7 @@
* {@inheritDoc}
*/
@Override
- public LinkedList<Aci> getDenyList() {
+ public List<Aci> getDenyList() {
return denyList;
}
@@ -657,7 +656,7 @@
* {@inheritDoc}
*/
@Override
- public LinkedList<Aci> getAllowList() {
+ public List<Aci> getAllowList() {
return allowList;
}
--
Gitblit v1.10.0