directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 56887 - incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/encoder/search
Date Mon, 08 Nov 2004 01:09:20 GMT
Author: akarasulu
Date: Sun Nov  7 17:09:19 2004
New Revision: 56887

Modified:
   incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/encoder/search/SearchRequestEncoderTest.java
Log:
changes to filter

Modified: incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/encoder/search/SearchRequestEncoderTest.java
==============================================================================
--- incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/encoder/search/SearchRequestEncoderTest.java
(original)
+++ incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/encoder/search/SearchRequestEncoderTest.java
Sun Nov  7 17:09:19 2004
@@ -20,7 +20,6 @@
 import org.apache.snickers.ldap.encoder.AbstractEncoderTestCase;
 import org.apache.snickers.ber.TupleNode;
 import org.apache.snickers.ber.DefaultMutableTupleNode;
-import org.apache.ldap.common.message.SearchRequest;
 import org.apache.ldap.common.message.SearchRequestImpl;
 import org.apache.ldap.common.message.DerefAliasesEnum;
 import org.apache.ldap.common.message.ScopeEnum;
@@ -43,16 +42,7 @@
      */
     public void testEncode()
     {
-        FilterParserImpl parser = null;
-        try
-        {
-            parser = new FilterParserImpl();
-        }
-        catch ( IOException e )
-        {
-            e.printStackTrace();
-        }
-
+        FilterParserImpl parser = new FilterParserImpl();
         SearchRequestImpl request = new SearchRequestImpl( 33 );
         request.setBase( "dc=apache,dc=org" );
         request.setDerefAliases( DerefAliasesEnum.DEREFINSEARCHING );

Mime
View raw message