Remove ByteBuffer prefix which wrongly suppresses a class member.
Change-Id: I5114106eca0f67326fb3f939165bae0c122ed982
This commit is contained in:
parent
4606367f98
commit
e945a182c2
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue