Skip to content

Commit 53d84d6

Browse files
committed
chore(text-to-speech-v1): format code
1 parent db44ae3 commit 53d84d6

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

text-to-speech/src/main/java/com/ibm/watson/text_to_speech/v1/TextToSpeech.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
/**

text-to-speech/src/main/java/com/ibm/watson/text_to_speech/v1/model/SynthesizeOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)