From 0e52d359d661d2fd95fa5c28058353f5d121173c Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Thu, 20 Sep 2012 22:32:04 +0000
Subject: [PATCH] Fix OPENDJ-597: Remove superfluous ByteString based constructors

---
 opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Entry.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Entry.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Entry.java
index 6a5aabf..eccd7e6 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Entry.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Entry.java
@@ -123,7 +123,7 @@
      * @throws NullPointerException
      *             If {@code attribute} was {@code null}.
      */
-    boolean addAttribute(Attribute attribute, Collection<ByteString> duplicateValues);
+    boolean addAttribute(Attribute attribute, Collection<? super ByteString> duplicateValues);
 
     /**
      * Ensures that this entry contains the provided attribute and values
@@ -191,7 +191,7 @@
      * @throws NullPointerException
      *             If {@code attribute} was {@code null}.
      */
-    boolean containsAttribute(Attribute attribute, Collection<ByteString> missingValues);
+    boolean containsAttribute(Attribute attribute, Collection<? super ByteString> missingValues);
 
     /**
      * Returns {@code true} if this entry contains all of the attribute values
@@ -380,7 +380,7 @@
      * @throws NullPointerException
      *             If {@code attribute} was {@code null}.
      */
-    boolean removeAttribute(Attribute attribute, Collection<ByteString> missingValues);
+    boolean removeAttribute(Attribute attribute, Collection<? super ByteString> missingValues);
 
     /**
      * Removes the named attribute from this entry if it is present (optional

--
Gitblit v1.10.0