Merge "Remove ByteBuffer prefix which wrongly suppresses a class member."

main
Ken Wakasa 2010-04-27 08:11:28 -07:00 committed by Gerrit Code Review
commit 3592749a4c
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ public class BinaryDictionary extends Dictionary {
InputStream is = context.getResources().openRawResource(resId); InputStream is = context.getResources().openRawResource(resId);
try { try {
int avail = is.available(); int avail = is.available();
ByteBuffer mNativeDictDirectBuffer = mNativeDictDirectBuffer =
ByteBuffer.allocateDirect(avail).order(ByteOrder.nativeOrder()); ByteBuffer.allocateDirect(avail).order(ByteOrder.nativeOrder());
int got = Channels.newChannel(is).read(mNativeDictDirectBuffer); int got = Channels.newChannel(is).read(mNativeDictDirectBuffer);
if (got != avail) { if (got != avail) {