From 2471b10c27d06765fa8446a872c594cb159e144c Mon Sep 17 00:00:00 2001 From: Reuben Morais Date: Tue, 7 Jul 2020 15:24:15 +0200 Subject: [PATCH] Update Java tests --- .../org/mozilla/deepspeech/libdeepspeech/test/BasicTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;