directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject [directory-ldap-api] branch master updated: Fix for DIRAPI-303
Date Tue, 26 Dec 2017 09:32:12 GMT
This is an automated email from the ASF dual-hosted git repository.

elecharny pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-ldap-api.git


The following commit(s) were added to refs/heads/master by this push:
     new 72af649  Fix for DIRAPI-303
72af649 is described below

commit 72af649a9a1e786e6f82535b8c617027199751f1
Author: Emmanuel L├ęcharny <elecharny@symas.com>
AuthorDate: Tue Dec 26 10:32:10 2017 +0100

    Fix for DIRAPI-303
---
 util/src/main/java/org/apache/directory/api/util/Unicode.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/src/main/java/org/apache/directory/api/util/Unicode.java b/util/src/main/java/org/apache/directory/api/util/Unicode.java
index 59dedb2..dc8901a 100644
--- a/util/src/main/java/org/apache/directory/api/util/Unicode.java
+++ b/util/src/main/java/org/apache/directory/api/util/Unicode.java
@@ -205,7 +205,7 @@ public final class Unicode
                     + ( bytes[pos + 4] & 0x3F )
                 );
             }
-            else if ( ( bytes[pos] & UTF8_FIVE_BYTES_MASK ) == UTF8_FIVE_BYTES )
+            else if ( ( bytes[pos] & UTF8_SIX_BYTES_MASK ) == UTF8_SIX_BYTES )
             {
                 // Six bytes char
                 return ( char ) (

-- 
To stop receiving notification emails like this one, please contact
['"commits@directory.apache.org" <commits@directory.apache.org>'].

Mime
View raw message