From e945a182c25f9352a99367a47d0e58b0c18f414c Mon Sep 17 00:00:00 2001 From: Ken Wakasa Date: Tue, 27 Apr 2010 23:35:45 +0900 Subject: [PATCH] Remove ByteBuffer prefix which wrongly suppresses a class member. Change-Id: I5114106eca0f67326fb3f939165bae0c122ed982 --- java/src/com/android/inputmethod/latin/BinaryDictionary.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/android/inputmethod/latin/BinaryDictionary.java b/java/src/com/android/inputmethod/latin/BinaryDictionary.java index 9fcd9e50c..dc5417e8e 100644 --- a/java/src/com/android/inputmethod/latin/BinaryDictionary.java +++ b/java/src/com/android/inputmethod/latin/BinaryDictionary.java @@ -80,7 +80,7 @@ public class BinaryDictionary extends Dictionary { InputStream is = context.getResources().openRawResource(resId); try { int avail = is.available(); - ByteBuffer mNativeDictDirectBuffer = + mNativeDictDirectBuffer = ByteBuffer.allocateDirect(avail).order(ByteOrder.nativeOrder()); int got = Channels.newChannel(is).read(mNativeDictDirectBuffer); if (got != avail) {