Merge "Rename variable name to remove ambiguity"

This commit is contained in:
Jatin Matani 2014-12-09 03:53:21 +00:00 committed by Android (Google) Code Review
commit 45bbdc20bb

View file

@ -823,14 +823,14 @@ abstract public class ExpandableBinaryDictionary extends Dictionary {
int token = 0;
do {
// TODO: We need a new API that returns *new* un-synced data.
final BinaryDictionary.GetNextWordPropertyResult result =
final BinaryDictionary.GetNextWordPropertyResult nextWordPropertyResult =
binaryDictionary.getNextWordProperty(token);
final WordProperty wordProperty = result.mWordProperty;
final WordProperty wordProperty = nextWordPropertyResult.mWordProperty;
if (wordProperty == null) {
break;
}
wordPropertyList.add(wordProperty);
token = result.mNextToken;
token = nextWordPropertyResult.mNextToken;
} while (token != 0);
result.set(wordPropertyList.toArray(new WordProperty[wordPropertyList.size()]));
}