File tree Expand file tree Collapse file tree
text-to-speech/src/main/java/com/ibm/watson/text_to_speech/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -378,9 +378,9 @@ public ServiceCall<InputStream> synthesize(SynthesizeOptions synthesizeOptions)
378378 * @return a {@link WebSocket} instance
379379 */
380380 public WebSocket synthesizeUsingWebSocket (
381- SynthesizeOptions synthesizeOptions , SynthesizeCallback callback ) {
381+ SynthesizeOptions synthesizeOptions , SynthesizeCallback callback ) {
382382 com .ibm .cloud .sdk .core .util .Validator .notNull (
383- synthesizeOptions , "synthesizeOptions cannot be null" );
383+ synthesizeOptions , "synthesizeOptions cannot be null" );
384384 com .ibm .cloud .sdk .core .util .Validator .notNull (callback , "callback cannot be null" );
385385
386386 HttpUrl .Builder urlBuilder = HttpUrl .parse (getServiceUrl () + "/v1/synthesize" ).newBuilder ();
@@ -400,7 +400,7 @@ public WebSocket synthesizeUsingWebSocket(
400400
401401 OkHttpClient client = configureHttpClient ();
402402 return client .newWebSocket (
403- builder .build (), new TextToSpeechWebSocketListener (synthesizeOptions , callback ));
403+ builder .build (), new TextToSpeechWebSocketListener (synthesizeOptions , callback ));
404404 }
405405
406406 /**
Original file line number Diff line number Diff line change @@ -299,8 +299,8 @@ public String customizationId() {
299299 * strings of the input text. Specify `words` as the element of the array to request word timing
300300 * information. The service returns the start and end time of each word of the input. Specify an
301301 * empty array or omit the parameter to receive no word timing information. Not supported for
302- * Japanese input text.
303- *protected List<String> timings;
302+ * Japanese input text. protected List<String> timings;
303+ *
304304 * <p>NOTE: This parameter only works for the `synthesizeUsingWebSocket` method.
305305 *
306306 * @return the timings
You can’t perform that action at this time.
0 commit comments