Remove ByteBuffer prefix which wrongly suppresses a class member.

Change-Id: I5114106eca0f67326fb3f939165bae0c122ed982
main
Ken Wakasa 2010-04-27 23:35:45 +09:00
parent 4606367f98
commit e945a182c2
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) {