directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r351940 - in /directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder: ./ add/ bind/ compare/ delete/ extended/ modify/ modifydn/ search/
Date Sat, 03 Dec 2005 13:11:25 GMT
Author: ersiner
Date: Sat Dec  3 05:10:52 2005
New Revision: 351940

URL: http://svn.apache.org/viewcvs?rev=351940&view=rev
Log:
Applied Emmanuel's method name refactoring to the branch.
Upgraded version of commons-lang from 2.0 to 2.1 to be able to use primitiveTwoWrapper conversions.

Modified:
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ErrorMessageRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ReferralUrlRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ResultMatchedDNRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ResultRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/add/AddAttributeValueRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/add/AddRequestEntryDnRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/bind/BindNameRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/compare/CompareAVARule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/compare/CompareEntryRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/delete/DeleteRequestRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/extended/ExtendedRequestOidRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/extended/ExtendedResponseOidRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modify/ModificationItemRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modify/ModifyRequestAttributeValueRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modify/ModifyRequestEntryDnRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modifydn/ModifyDnRequestEntryRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modifydn/ModifyDnRequestNewRdnRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modifydn/ModifyDnRequestNewSuperiorRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ApproxMatchRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/BaseObjectRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/EqualityMatchRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ExtensibleMatchMatchingRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ExtensibleMatchTypeRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ExtensibleMatchValueRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/GreaterOrEqualRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/LessOrEqualRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/PresentRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/RequestedAttributesRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SearchResponseEntryDnRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SubstringMatchAnyRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SubstringMatchFinalRule.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SubstringMatchInitialRule.java

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ErrorMessageRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ErrorMessageRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ErrorMessageRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ErrorMessageRule.java
Sat Dec  3 05:10:52 2005
@@ -104,7 +104,7 @@
         }
 
         ByteBuffer buf = getAccumulator().drain( 0 ) ;
-        String errorMsg = StringUtils.toUtf8( BufferUtils.getArray( buf ) ) ;
+        String errorMsg = StringUtils.utf8ToString( BufferUtils.getArray( buf ) ) ;
         result.setErrorMessage( errorMsg ) ;
 
         // clean up

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ReferralUrlRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ReferralUrlRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ReferralUrlRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ReferralUrlRule.java
Sat Dec  3 05:10:52 2005
@@ -60,6 +60,6 @@
             buf.get( url ) ;
         }
 
-        ref.addLdapUrl( StringUtils.toUtf8( url ) ) ;
+        ref.addLdapUrl( StringUtils.utf8ToString( url ) ) ;
     }
 }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ResultMatchedDNRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ResultMatchedDNRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ResultMatchedDNRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ResultMatchedDNRule.java
Sat Dec  3 05:10:52 2005
@@ -98,7 +98,7 @@
         }
 
         ByteBuffer buf = getAccumulator().drain( 0 ) ;
-        String dn = StringUtils.toUtf8( BufferUtils.getArray( buf ) ) ;
+        String dn = StringUtils.utf8ToString( BufferUtils.getArray( buf ) ) ;
         result.setMatchedDn( dn );
 
         // clean up

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ResultRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ResultRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ResultRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/ResultRule.java
Sat Dec  3 05:10:52 2005
@@ -60,9 +60,9 @@
         super.finish() ;
 
         ByteBuffer buf = ( ByteBuffer ) getDigester().pop() ;
-        result.setErrorMessage( StringUtils.toUtf8( BufferUtils.getArray( buf ) ) ) ;
+        result.setErrorMessage( StringUtils.utf8ToString( BufferUtils.getArray( buf ) ) )
;
         buf = ( ByteBuffer ) getDigester().pop() ;
-        result.setMatchedDn( StringUtils.toUtf8( BufferUtils.getArray( buf ) ) ) ;
+        result.setMatchedDn( StringUtils.utf8ToString( BufferUtils.getArray( buf ) ) ) ;
         int resultCode = getDigester().popInt() ;
         result.setResultCode( ResultCodeEnum.getResultCodeEnum( resultCode ) ) ;
         getDigester().pop() ;

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/add/AddAttributeValueRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/add/AddAttributeValueRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/add/AddAttributeValueRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/add/AddAttributeValueRule.java
Sat Dec  3 05:10:52 2005
@@ -100,7 +100,7 @@
         }
         else
         {
-            attr.add( StringUtils.toUtf8( octets ) );
+            attr.add( StringUtils.utf8ToString( octets ) );
         }
 
         // clean up

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/add/AddRequestEntryDnRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/add/AddRequestEntryDnRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/add/AddRequestEntryDnRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/add/AddRequestEntryDnRule.java
Sat Dec  3 05:10:52 2005
@@ -77,6 +77,6 @@
             buf.get( octets ) ;
         }
 
-        req.setEntry( StringUtils.toUtf8( octets ) ) ;
+        req.setEntry( StringUtils.utf8ToString( octets ) ) ;
     }
 }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/bind/BindNameRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/bind/BindNameRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/bind/BindNameRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/bind/BindNameRule.java
Sat Dec  3 05:10:52 2005
@@ -70,6 +70,6 @@
         }
 
         // The byte array is an UTF-8 encoded String
-        req.setName( StringUtils.toUtf8( name ) ) ;
+        req.setName( StringUtils.utf8ToString( name ) ) ;
     }
 }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/compare/CompareAVARule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/compare/CompareAVARule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/compare/CompareAVARule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/compare/CompareAVARule.java
Sat Dec  3 05:10:52 2005
@@ -72,7 +72,7 @@
 
         if ( req.getAttributeId() == null )
         {
-            req.setAttributeId( StringUtils.toUtf8( octets ) ) ;
+            req.setAttributeId( StringUtils.utf8ToString( octets ) ) ;
         }
         else
         {
@@ -82,7 +82,7 @@
             }
             else
             {
-                req.setAssertionValue( StringUtils.toUtf8( octets ) );
+                req.setAssertionValue( StringUtils.utf8ToString( octets ) );
             }
         }
     }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/compare/CompareEntryRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/compare/CompareEntryRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/compare/CompareEntryRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/compare/CompareEntryRule.java
Sat Dec  3 05:10:52 2005
@@ -70,6 +70,6 @@
             buf.get( name ) ;
         }
 
-        req.setName( StringUtils.toUtf8( name ) ) ;
+        req.setName( StringUtils.utf8ToString( name ) ) ;
     }
 }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/delete/DeleteRequestRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/delete/DeleteRequestRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/delete/DeleteRequestRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/delete/DeleteRequestRule.java
Sat Dec  3 05:10:52 2005
@@ -67,7 +67,7 @@
         super.finish() ;
 
         ByteBuffer buf = ( ByteBuffer ) getDigester().pop() ;
-        String name = StringUtils.toUtf8( BufferUtils.getArray( buf ) );
+        String name = StringUtils.utf8ToString( BufferUtils.getArray( buf ) );
         DeleteRequest req = ( DeleteRequest ) getDigester().pop() ;
         req.setName( name ) ;
     }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/extended/ExtendedRequestOidRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/extended/ExtendedRequestOidRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/extended/ExtendedRequestOidRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/extended/ExtendedRequestOidRule.java
Sat Dec  3 05:10:52 2005
@@ -77,6 +77,6 @@
             buf.get( octets ) ;
         }
 
-        req.setOid( StringUtils.toUtf8( octets ) ) ;
+        req.setOid( StringUtils.utf8ToString( octets ) ) ;
     }
 }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/extended/ExtendedResponseOidRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/extended/ExtendedResponseOidRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/extended/ExtendedResponseOidRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/extended/ExtendedResponseOidRule.java
Sat Dec  3 05:10:52 2005
@@ -77,6 +77,6 @@
             buf.get( octets ) ;
         }
 
-        resp.setResponseName( StringUtils.toUtf8( octets ) ) ;
+        resp.setResponseName( StringUtils.utf8ToString( octets ) ) ;
     }
 }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modify/ModificationItemRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modify/ModificationItemRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modify/ModificationItemRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modify/ModificationItemRule.java
Sat Dec  3 05:10:52 2005
@@ -104,7 +104,7 @@
         }
 
         LockableAttributeImpl attr =
-                new LockableAttributeImpl( StringUtils.toUtf8( octets ) ) ;
+                new LockableAttributeImpl( StringUtils.utf8ToString( octets ) ) ;
         ModifyRequest req = ( ModifyRequest ) getDigester().peek() ;
         ModificationItem mods = new ModificationItem( modCode, attr ) ;
         req.addModification( mods ) ;

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modify/ModifyRequestAttributeValueRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modify/ModifyRequestAttributeValueRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modify/ModifyRequestAttributeValueRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modify/ModifyRequestAttributeValueRule.java
Sat Dec  3 05:10:52 2005
@@ -87,7 +87,7 @@
         }
         else
         {
-            mods.getAttribute().add( StringUtils.toUtf8( octets ) ) ;
+            mods.getAttribute().add( StringUtils.utf8ToString( octets ) ) ;
         }
 
         // clean up

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modify/ModifyRequestEntryDnRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modify/ModifyRequestEntryDnRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modify/ModifyRequestEntryDnRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modify/ModifyRequestEntryDnRule.java
Sat Dec  3 05:10:52 2005
@@ -77,6 +77,6 @@
             buf.get( octets ) ;
         }
 
-        req.setName( StringUtils.toUtf8( octets ) ) ;
+        req.setName( StringUtils.utf8ToString( octets ) ) ;
     }
 }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modifydn/ModifyDnRequestEntryRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modifydn/ModifyDnRequestEntryRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modifydn/ModifyDnRequestEntryRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modifydn/ModifyDnRequestEntryRule.java
Sat Dec  3 05:10:52 2005
@@ -132,7 +132,7 @@
             buf.get( octets ) ;
         }
 
-        req.setName( StringUtils.toUtf8( octets ) ) ;
+        req.setName( StringUtils.utf8ToString( octets ) ) ;
         byPass = false ;
         req = null ;
     }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modifydn/ModifyDnRequestNewRdnRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modifydn/ModifyDnRequestNewRdnRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modifydn/ModifyDnRequestNewRdnRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modifydn/ModifyDnRequestNewRdnRule.java
Sat Dec  3 05:10:52 2005
@@ -135,7 +135,7 @@
             buf.get( octets ) ;
         }
 
-        req.setNewRdn( StringUtils.toUtf8( octets ) ) ;
+        req.setNewRdn( StringUtils.utf8ToString( octets ) ) ;
         byPass = false ;
         req = null ;
     }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modifydn/ModifyDnRequestNewSuperiorRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modifydn/ModifyDnRequestNewSuperiorRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modifydn/ModifyDnRequestNewSuperiorRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/modifydn/ModifyDnRequestNewSuperiorRule.java
Sat Dec  3 05:10:52 2005
@@ -92,6 +92,6 @@
             buf.get( octets ) ;
         }
 
-        req.setNewSuperior( StringUtils.toUtf8( octets ) ) ;
+        req.setNewSuperior( StringUtils.utf8ToString( octets ) ) ;
     }
 }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ApproxMatchRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ApproxMatchRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ApproxMatchRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ApproxMatchRule.java
Sat Dec  3 05:10:52 2005
@@ -134,7 +134,7 @@
 
         if ( name == null )
         {
-            name = StringUtils.toUtf8( octets );
+            name = StringUtils.utf8ToString( octets );
         }
         else 
         {

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/BaseObjectRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/BaseObjectRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/BaseObjectRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/BaseObjectRule.java
Sat Dec  3 05:10:52 2005
@@ -76,7 +76,7 @@
             buf.get( octets );
         }
 
-        req.setBase( StringUtils.toUtf8( octets ) );
+        req.setBase( StringUtils.utf8ToString( octets ) );
         ( ( SearchRequestProcessing ) getDigester().peek() ).next();
     }
 }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/EqualityMatchRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/EqualityMatchRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/EqualityMatchRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/EqualityMatchRule.java
Sat Dec  3 05:10:52 2005
@@ -141,7 +141,7 @@
 
         if ( name == null )
         {
-            name = StringUtils.toUtf8( octets ) ;
+            name = StringUtils.utf8ToString( octets ) ;
         }
         else 
         {

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ExtensibleMatchMatchingRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ExtensibleMatchMatchingRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ExtensibleMatchMatchingRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ExtensibleMatchMatchingRule.java
Sat Dec  3 05:10:52 2005
@@ -67,6 +67,6 @@
         }
 
         ExtensibleMatchRule rule = ( ExtensibleMatchRule ) getDigester().peek();
-        rule.setMatchingRule( StringUtils.toUtf8( octets ) );
+        rule.setMatchingRule( StringUtils.utf8ToString( octets ) );
     }
 }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ExtensibleMatchTypeRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ExtensibleMatchTypeRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ExtensibleMatchTypeRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ExtensibleMatchTypeRule.java
Sat Dec  3 05:10:52 2005
@@ -67,6 +67,6 @@
         }
 
         ExtensibleMatchRule rule = ( ExtensibleMatchRule ) getDigester().peek();
-        rule.setType( StringUtils.toUtf8( octets ) );
+        rule.setType( StringUtils.utf8ToString( octets ) );
     }
 }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ExtensibleMatchValueRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ExtensibleMatchValueRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ExtensibleMatchValueRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/ExtensibleMatchValueRule.java
Sat Dec  3 05:10:52 2005
@@ -67,6 +67,6 @@
         }
 
         ExtensibleMatchRule rule = ( ExtensibleMatchRule ) getDigester().peek();
-        rule.setValue( StringUtils.toUtf8( octets ) );
+        rule.setValue( StringUtils.utf8ToString( octets ) );
     }
 }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/GreaterOrEqualRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/GreaterOrEqualRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/GreaterOrEqualRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/GreaterOrEqualRule.java
Sat Dec  3 05:10:52 2005
@@ -113,7 +113,7 @@
 
         if ( name == null )
         {
-            name = StringUtils.toUtf8( octets );
+            name = StringUtils.utf8ToString( octets );
         }
         else
         {

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/LessOrEqualRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/LessOrEqualRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/LessOrEqualRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/LessOrEqualRule.java
Sat Dec  3 05:10:52 2005
@@ -113,7 +113,7 @@
 
         if ( name == null )
         {
-            name = StringUtils.toUtf8( octets );
+            name = StringUtils.utf8ToString( octets );
         }
         else
         {

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/PresentRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/PresentRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/PresentRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/PresentRule.java
Sat Dec  3 05:10:52 2005
@@ -132,7 +132,7 @@
                 buf.get( octets );
             }
 
-            getDigester().push( new PresenceNode( StringUtils.toUtf8( octets ) ) );
+            getDigester().push( new PresenceNode( StringUtils.utf8ToString( octets ) ) );
         }
 
         isEnabled = true ;

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/RequestedAttributesRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/RequestedAttributesRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/RequestedAttributesRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/RequestedAttributesRule.java
Sat Dec  3 05:10:52 2005
@@ -77,6 +77,6 @@
             buf.get( octets );
         }
 
-        req.addAttribute( StringUtils.toUtf8( octets ) );
+        req.addAttribute( StringUtils.utf8ToString( octets ) );
     }
 }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SearchResponseEntryDnRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SearchResponseEntryDnRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SearchResponseEntryDnRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SearchResponseEntryDnRule.java
Sat Dec  3 05:10:52 2005
@@ -78,6 +78,6 @@
             buf.get( octets ) ;
         }
 
-        req.setObjectName( StringUtils.toUtf8( octets ) ) ;
+        req.setObjectName( StringUtils.utf8ToString( octets ) ) ;
     }
 }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SubstringMatchAnyRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SubstringMatchAnyRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SubstringMatchAnyRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SubstringMatchAnyRule.java
Sat Dec  3 05:10:52 2005
@@ -66,6 +66,6 @@
         }
 
         SubstringMatchRule rule = ( SubstringMatchRule ) getDigester().peek() ;
-        rule.addAny( StringUtils.toUtf8( octets ) );
+        rule.addAny( StringUtils.utf8ToString( octets ) );
     }
 }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SubstringMatchFinalRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SubstringMatchFinalRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SubstringMatchFinalRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SubstringMatchFinalRule.java
Sat Dec  3 05:10:52 2005
@@ -67,6 +67,6 @@
         }
 
         SubstringMatchRule rule = ( SubstringMatchRule ) getDigester().peek() ;
-        rule.setFinalStr( StringUtils.toUtf8( octets ) );
+        rule.setFinalStr( StringUtils.utf8ToString( octets ) );
     }
 }

Modified: directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SubstringMatchInitialRule.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SubstringMatchInitialRule.java?rev=351940&r1=351939&r2=351940&view=diff
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SubstringMatchInitialRule.java
(original)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/decoder/search/SubstringMatchInitialRule.java
Sat Dec  3 05:10:52 2005
@@ -67,6 +67,6 @@
         }
 
         SubstringMatchRule rule = ( SubstringMatchRule ) getDigester().peek() ;
-        rule.setInitial( StringUtils.toUtf8( octets ) );
+        rule.setInitial( StringUtils.utf8ToString( octets ) );
     }
 }



Mime
View raw message