mirror of https://github.com/apache/poi.git
PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352843 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a30dc55f80
commit
3398350f0e
|
@ -114,7 +114,7 @@ public class StringUtil {
|
|||
|
||||
char[] chars = new char[ len ];
|
||||
for ( int i = 0; i < chars.length; i++ ) {
|
||||
chars[i] = (char)( string[ offset + ( 2*i ) ] +
|
||||
chars[i] = (char)( string[ offset + ( 2*i ) ] & 0xFF |
|
||||
( string[ offset + ( 2*i+1 ) ] << 8 ) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue