You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2017/12/26 09:32:12 UTC
[directory-ldap-api] branch master updated: Fix for DIRAPI-303
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 <el...@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" <co...@directory.apache.org>'].