directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1485649 [2/2] - in /directory/shared/trunk: dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/ dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/api...
Date Thu, 23 May 2013 11:30:17 GMT
Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchRequestImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchRequestImpl.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchRequestImpl.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchRequestImpl.java
Thu May 23 11:30:16 2013
@@ -28,7 +28,6 @@ import java.util.List;
 
 import org.apache.directory.api.ldap.model.exception.LdapException;
 import org.apache.directory.api.ldap.model.exception.LdapProtocolErrorException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.filter.BranchNormalizedVisitor;
 import org.apache.directory.api.ldap.model.filter.ExprNode;
 import org.apache.directory.api.ldap.model.filter.FilterParser;
@@ -318,7 +317,7 @@ public class SearchRequestImpl extends A
     /**
      * {@inheritDoc}
      */
-    public SearchRequest addControl( Control control ) throws MessageException
+    public SearchRequest addControl( Control control )
     {
         return ( SearchRequest ) super.addControl( control );
     }
@@ -327,7 +326,7 @@ public class SearchRequestImpl extends A
     /**
      * {@inheritDoc}
      */
-    public SearchRequest addAllControls( Control[] controls ) throws MessageException
+    public SearchRequest addAllControls( Control[] controls )
     {
         return ( SearchRequest ) super.addAllControls( controls );
     }
@@ -336,7 +335,7 @@ public class SearchRequestImpl extends A
     /**
      * {@inheritDoc}
      */
-    public SearchRequest removeControl( Control control ) throws MessageException
+    public SearchRequest removeControl( Control control )
     {
         return ( SearchRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/UnbindRequest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/UnbindRequest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/UnbindRequest.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/UnbindRequest.java
Thu May 23 11:30:16 2013
@@ -20,9 +20,6 @@
 package org.apache.directory.api.ldap.model.message;
 
 
-import org.apache.directory.api.ldap.model.exception.MessageException;
-
-
 /**
  * Unbind protocol request message used to end a client session.
  * 
@@ -43,17 +40,17 @@ public interface UnbindRequest extends R
     /**
      * {@inheritDoc}
      */
-    UnbindRequest addControl( Control control ) throws MessageException;
+    UnbindRequest addControl( Control control );
 
 
     /**
      * {@inheritDoc}
      */
-    UnbindRequest addAllControls( Control[] controls ) throws MessageException;
+    UnbindRequest addAllControls( Control[] controls );
 
 
     /**
      * {@inheritDoc}
      */
-    UnbindRequest removeControl( Control control ) throws MessageException;
+    UnbindRequest removeControl( Control control );
 }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/UnbindRequestImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/UnbindRequestImpl.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/UnbindRequestImpl.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/UnbindRequestImpl.java
Thu May 23 11:30:16 2013
@@ -21,7 +21,6 @@ package org.apache.directory.api.ldap.mo
 
 
 import org.apache.directory.api.i18n.I18n;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 
 
 /**
@@ -71,7 +70,7 @@ public class UnbindRequestImpl extends A
     /**
      * {@inheritDoc}
      */
-    public UnbindRequest addControl( Control control ) throws MessageException
+    public UnbindRequest addControl( Control control )
     {
         return ( UnbindRequest ) super.addControl( control );
     }
@@ -80,7 +79,7 @@ public class UnbindRequestImpl extends A
     /**
      * {@inheritDoc}
      */
-    public UnbindRequest addAllControls( Control[] controls ) throws MessageException
+    public UnbindRequest addAllControls( Control[] controls )
     {
         return ( UnbindRequest ) super.addAllControls( controls );
     }
@@ -89,7 +88,7 @@ public class UnbindRequestImpl extends A
     /**
      * {@inheritDoc}
      */
-    public UnbindRequest removeControl( Control control ) throws MessageException
+    public UnbindRequest removeControl( Control control )
     {
         return ( UnbindRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/AddRequestImplTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/AddRequestImplTest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/AddRequestImplTest.java
(original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/AddRequestImplTest.java
Thu May 23 11:30:16 2013
@@ -31,13 +31,6 @@ import org.apache.directory.api.ldap.mod
 import org.apache.directory.api.ldap.model.entry.DefaultEntry;
 import org.apache.directory.api.ldap.model.entry.Entry;
 import org.apache.directory.api.ldap.model.exception.LdapException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
-import org.apache.directory.api.ldap.model.message.AbandonListener;
-import org.apache.directory.api.ldap.model.message.AddRequest;
-import org.apache.directory.api.ldap.model.message.AddRequestImpl;
-import org.apache.directory.api.ldap.model.message.AddResponse;
-import org.apache.directory.api.ldap.model.message.Control;
-import org.apache.directory.api.ldap.model.message.MessageTypeEnum;
 import org.apache.directory.api.ldap.model.name.Dn;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -227,13 +220,13 @@ public class AddRequestImplTest
             }
 
 
-            public AddRequest addControl( Control control ) throws MessageException
+            public AddRequest addControl( Control control )
             {
                 return this;
             }
 
 
-            public AddRequest removeControl( Control control ) throws MessageException
+            public AddRequest removeControl( Control control )
             {
                 return this;
             }
@@ -280,7 +273,7 @@ public class AddRequestImplTest
             }
 
 
-            public AddRequest addAllControls( Control[] controls ) throws MessageException
+            public AddRequest addAllControls( Control[] controls )
             {
                 return this;
             }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/BindRequestImplTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/BindRequestImplTest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/BindRequestImplTest.java
(original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/BindRequestImplTest.java
Thu May 23 11:30:16 2013
@@ -27,13 +27,6 @@ import java.util.HashMap;
 import java.util.Map;
 
 import org.apache.directory.api.ldap.model.exception.LdapException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
-import org.apache.directory.api.ldap.model.message.AbandonListener;
-import org.apache.directory.api.ldap.model.message.BindRequest;
-import org.apache.directory.api.ldap.model.message.BindRequestImpl;
-import org.apache.directory.api.ldap.model.message.BindResponse;
-import org.apache.directory.api.ldap.model.message.Control;
-import org.apache.directory.api.ldap.model.message.MessageTypeEnum;
 import org.apache.directory.api.ldap.model.name.Dn;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -321,13 +314,13 @@ public class BindRequestImplTest
             }
 
 
-            public BindRequest addControl( Control control ) throws MessageException
+            public BindRequest addControl( Control control )
             {
                 return this;
             }
 
 
-            public BindRequest removeControl( Control control ) throws MessageException
+            public BindRequest removeControl( Control control )
             {
                 return this;
             }
@@ -369,7 +362,7 @@ public class BindRequestImplTest
             }
 
 
-            public BindRequest addAllControls( Control[] controls ) throws MessageException
+            public BindRequest addAllControls( Control[] controls )
             {
                 return this;
             }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/CompareRequestImplTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/CompareRequestImplTest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/CompareRequestImplTest.java
(original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/CompareRequestImplTest.java
Thu May 23 11:30:16 2013
@@ -28,13 +28,6 @@ import java.util.Map;
 
 import org.apache.directory.api.ldap.model.entry.Value;
 import org.apache.directory.api.ldap.model.exception.LdapException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
-import org.apache.directory.api.ldap.model.message.AbandonListener;
-import org.apache.directory.api.ldap.model.message.CompareRequest;
-import org.apache.directory.api.ldap.model.message.CompareRequestImpl;
-import org.apache.directory.api.ldap.model.message.CompareResponse;
-import org.apache.directory.api.ldap.model.message.Control;
-import org.apache.directory.api.ldap.model.message.MessageTypeEnum;
 import org.apache.directory.api.ldap.model.name.Dn;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -264,13 +257,13 @@ public class CompareRequestImplTest
             }
 
 
-            public CompareRequest addControl( Control a_control ) throws MessageException
+            public CompareRequest addControl( Control a_control )
             {
                 return this;
             }
 
 
-            public CompareRequest removeControl( Control a_control ) throws MessageException
+            public CompareRequest removeControl( Control a_control )
             {
                 return this;
             }
@@ -317,7 +310,7 @@ public class CompareRequestImplTest
             }
 
 
-            public CompareRequest addAllControls( Control[] controls ) throws MessageException
+            public CompareRequest addAllControls( Control[] controls )
             {
                 return this;
             }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/DeleteRequestImplTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/DeleteRequestImplTest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/DeleteRequestImplTest.java
(original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/DeleteRequestImplTest.java
Thu May 23 11:30:16 2013
@@ -27,13 +27,6 @@ import java.util.HashMap;
 import java.util.Map;
 
 import org.apache.directory.api.ldap.model.exception.LdapException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
-import org.apache.directory.api.ldap.model.message.AbandonListener;
-import org.apache.directory.api.ldap.model.message.Control;
-import org.apache.directory.api.ldap.model.message.DeleteRequest;
-import org.apache.directory.api.ldap.model.message.DeleteRequestImpl;
-import org.apache.directory.api.ldap.model.message.DeleteResponse;
-import org.apache.directory.api.ldap.model.message.MessageTypeEnum;
 import org.apache.directory.api.ldap.model.name.Dn;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -195,13 +188,13 @@ public class DeleteRequestImplTest
             }
 
 
-            public DeleteRequest addControl( Control control ) throws MessageException
+            public DeleteRequest addControl( Control control )
             {
                 return this;
             }
 
 
-            public DeleteRequest removeControl( Control control ) throws MessageException
+            public DeleteRequest removeControl( Control control )
             {
                 return this;
             }
@@ -248,7 +241,7 @@ public class DeleteRequestImplTest
             }
 
 
-            public DeleteRequest addAllControls( Control[] controls ) throws MessageException
+            public DeleteRequest addAllControls( Control[] controls )
             {
                 return this;
             }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ExtendedRequestImplTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ExtendedRequestImplTest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ExtendedRequestImplTest.java
(original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ExtendedRequestImplTest.java
Thu May 23 11:30:16 2013
@@ -26,7 +26,6 @@ import static org.junit.Assert.assertTru
 import java.util.HashMap;
 import java.util.Map;
 
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
@@ -200,13 +199,13 @@ public class ExtendedRequestImplTest
             }
 
 
-            public ExtendedRequest<ExtendedResponse> addControl( Control control )
throws MessageException
+            public ExtendedRequest<ExtendedResponse> addControl( Control control )
             {
                 return this;
             }
 
 
-            public ExtendedRequest<ExtendedResponse> removeControl( Control control
) throws MessageException
+            public ExtendedRequest<ExtendedResponse> removeControl( Control control
)
             {
                 return this;
             }
@@ -242,7 +241,7 @@ public class ExtendedRequestImplTest
             }
 
 
-            public ExtendedRequest<ExtendedResponse> addAllControls( Control[] controls
) throws MessageException
+            public ExtendedRequest<ExtendedResponse> addAllControls( Control[] controls
)
             {
                 return this;
             }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ExtendedResponseImplTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ExtendedResponseImplTest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ExtendedResponseImplTest.java
(original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ExtendedResponseImplTest.java
Thu May 23 11:30:16 2013
@@ -27,7 +27,6 @@ import java.util.HashMap;
 import java.util.Map;
 
 import org.apache.directory.api.ldap.model.exception.LdapException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.name.Dn;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -159,13 +158,13 @@ public class ExtendedResponseImplTest
             }
 
 
-            public ExtendedResponse addControl( Control control ) throws MessageException
+            public ExtendedResponse addControl( Control control )
             {
                 return this;
             }
 
 
-            public ExtendedResponse removeControl( Control control ) throws MessageException
+            public ExtendedResponse removeControl( Control control )
             {
                 return this;
             }
@@ -189,7 +188,7 @@ public class ExtendedResponseImplTest
             }
 
 
-            public ExtendedResponse addAllControls( Control[] controls ) throws MessageException
+            public ExtendedResponse addAllControls( Control[] controls )
             {
                 return this;
             }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ModifyDnRequestImplTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ModifyDnRequestImplTest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ModifyDnRequestImplTest.java
(original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ModifyDnRequestImplTest.java
Thu May 23 11:30:16 2013
@@ -27,13 +27,6 @@ import java.util.HashMap;
 import java.util.Map;
 
 import org.apache.directory.api.ldap.model.exception.LdapException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
-import org.apache.directory.api.ldap.model.message.AbandonListener;
-import org.apache.directory.api.ldap.model.message.Control;
-import org.apache.directory.api.ldap.model.message.MessageTypeEnum;
-import org.apache.directory.api.ldap.model.message.ModifyDnRequest;
-import org.apache.directory.api.ldap.model.message.ModifyDnRequestImpl;
-import org.apache.directory.api.ldap.model.message.ModifyDnResponse;
 import org.apache.directory.api.ldap.model.name.Dn;
 import org.apache.directory.api.ldap.model.name.Rdn;
 import org.junit.Test;
@@ -352,13 +345,13 @@ public class ModifyDnRequestImplTest
             }
 
 
-            public ModifyDnRequest addControl( Control a_control ) throws MessageException
+            public ModifyDnRequest addControl( Control a_control )
             {
                 return this;
             }
 
 
-            public ModifyDnRequest removeControl( Control a_control ) throws MessageException
+            public ModifyDnRequest removeControl( Control a_control )
             {
                 return this;
             }
@@ -405,7 +398,7 @@ public class ModifyDnRequestImplTest
             }
 
 
-            public ModifyDnRequest addAllControls( Control[] controls ) throws MessageException
+            public ModifyDnRequest addAllControls( Control[] controls )
             {
                 return this;
             }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ModifyRequestImplTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ModifyRequestImplTest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ModifyRequestImplTest.java
(original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ModifyRequestImplTest.java
Thu May 23 11:30:16 2013
@@ -36,13 +36,6 @@ import org.apache.directory.api.ldap.mod
 import org.apache.directory.api.ldap.model.entry.ModificationOperation;
 import org.apache.directory.api.ldap.model.exception.LdapException;
 import org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
-import org.apache.directory.api.ldap.model.message.AbandonListener;
-import org.apache.directory.api.ldap.model.message.Control;
-import org.apache.directory.api.ldap.model.message.MessageTypeEnum;
-import org.apache.directory.api.ldap.model.message.ModifyRequest;
-import org.apache.directory.api.ldap.model.message.ModifyRequestImpl;
-import org.apache.directory.api.ldap.model.message.ModifyResponse;
 import org.apache.directory.api.ldap.model.name.Dn;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -387,13 +380,13 @@ public class ModifyRequestImplTest
             }
 
 
-            public ModifyRequest addControl( Control a_control ) throws MessageException
+            public ModifyRequest addControl( Control a_control )
             {
                 return this;
             }
 
 
-            public ModifyRequest removeControl( Control a_control ) throws MessageException
+            public ModifyRequest removeControl( Control a_control )
             {
                 return this;
             }
@@ -440,7 +433,7 @@ public class ModifyRequestImplTest
             }
 
 
-            public ModifyRequest addAllControls( Control[] controls ) throws MessageException
+            public ModifyRequest addAllControls( Control[] controls )
             {
                 return this;
             }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/SearchResponseDoneImplTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/SearchResponseDoneImplTest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/SearchResponseDoneImplTest.java
(original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/SearchResponseDoneImplTest.java
Thu May 23 11:30:16 2013
@@ -27,15 +27,6 @@ import java.util.HashMap;
 import java.util.Map;
 
 import org.apache.directory.api.ldap.model.exception.LdapException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
-import org.apache.directory.api.ldap.model.message.Control;
-import org.apache.directory.api.ldap.model.message.LdapResult;
-import org.apache.directory.api.ldap.model.message.LdapResultImpl;
-import org.apache.directory.api.ldap.model.message.MessageTypeEnum;
-import org.apache.directory.api.ldap.model.message.ReferralImpl;
-import org.apache.directory.api.ldap.model.message.ResultCodeEnum;
-import org.apache.directory.api.ldap.model.message.SearchResultDone;
-import org.apache.directory.api.ldap.model.message.SearchResultDoneImpl;
 import org.apache.directory.api.ldap.model.name.Dn;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -155,13 +146,13 @@ public class SearchResponseDoneImplTest
             }
 
 
-            public SearchResultDone addControl( Control a_control ) throws MessageException
+            public SearchResultDone addControl( Control a_control )
             {
                 return this;
             }
 
 
-            public SearchResultDone removeControl( Control a_control ) throws MessageException
+            public SearchResultDone removeControl( Control a_control )
             {
                 return this;
             }
@@ -185,7 +176,7 @@ public class SearchResponseDoneImplTest
             }
 
 
-            public SearchResultDone addAllControls( Control[] controls ) throws MessageException
+            public SearchResultDone addAllControls( Control[] controls )
             {
                 return this;
             }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/SearchResponseReferenceImplTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/SearchResponseReferenceImplTest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/SearchResponseReferenceImplTest.java
(original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/SearchResponseReferenceImplTest.java
Thu May 23 11:30:16 2013
@@ -26,13 +26,6 @@ import static org.junit.Assert.assertTru
 import java.util.HashMap;
 import java.util.Map;
 
-import org.apache.directory.api.ldap.model.exception.MessageException;
-import org.apache.directory.api.ldap.model.message.Control;
-import org.apache.directory.api.ldap.model.message.MessageTypeEnum;
-import org.apache.directory.api.ldap.model.message.Referral;
-import org.apache.directory.api.ldap.model.message.ReferralImpl;
-import org.apache.directory.api.ldap.model.message.SearchResultReference;
-import org.apache.directory.api.ldap.model.message.SearchResultReferenceImpl;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
@@ -130,13 +123,13 @@ public class SearchResponseReferenceImpl
             }
 
 
-            public SearchResultReference addControl( Control control ) throws MessageException
+            public SearchResultReference addControl( Control control )
             {
                 return this;
             }
 
 
-            public SearchResultReference removeControl( Control control ) throws MessageException
+            public SearchResultReference removeControl( Control control )
             {
                 return this;
             }
@@ -160,7 +153,7 @@ public class SearchResponseReferenceImpl
             }
 
 
-            public SearchResultReference addAllControls( Control[] controls ) throws MessageException
+            public SearchResultReference addAllControls( Control[] controls )
             {
                 return this;
             }



Mime
View raw message