diff --git a/native_client/java/libdeepspeech/src/androidTest/java/org/mozilla/deepspeech/libdeepspeech/test/BasicTest.java b/native_client/java/libdeepspeech/src/androidTest/java/org/mozilla/deepspeech/libdeepspeech/test/BasicTest.java index f7eccf00..08fce905 100644 --- a/native_client/java/libdeepspeech/src/androidTest/java/org/mozilla/deepspeech/libdeepspeech/test/BasicTest.java +++ b/native_client/java/libdeepspeech/src/androidTest/java/org/mozilla/deepspeech/libdeepspeech/test/BasicTest.java @@ -63,7 +63,7 @@ public class BasicTest { private String candidateTranscriptToString(CandidateTranscript t) { String retval = ""; - for (int i = 0; i < t.getNum_tokens(); ++i) { + for (int i = 0; i < t.getNumTokens(); ++i) { retval += t.getToken(i).getText(); } return retval;