Skip to content

Commit

Permalink
chore(all): formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
apaparazzi0329 committed Mar 13, 2024
1 parent 29ca3c5 commit 34f6a09
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
public class DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent
extends DialogNodeOutputGeneric {

@SerializedName("transfer_info")
@SerializedName("transfer_info")
private DialogNodeOutputConnectToAgentTransferInfo transferInfo;

/** Builder. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
public class RuntimeResponseGenericRuntimeResponseTypeChannelTransfer
extends RuntimeResponseGeneric {

@SerializedName("transfer_info")
@SerializedName("transfer_info")
protected ChannelTransferInfo transferInfo;

/** Builder. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
public class RuntimeResponseGenericRuntimeResponseTypeConnectToAgent
extends RuntimeResponseGeneric {

@SerializedName("transfer_info")
@SerializedName("transfer_info")
protected DialogNodeOutputConnectToAgentTransferInfo transferInfo;

/** Builder. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ public void testSendMessages() {
.input(input)
.context(context)
.build();
StatefulMessageResponse messageResponse = service.message(messageOptions).execute().getResult();
StatefulMessageResponse messageResponse =
service.message(messageOptions).execute().getResult();

// message assertions
List<RuntimeResponseGeneric> genericResponses = messageResponse.getOutput().getGeneric();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ public class QueryAggregationQueryHistogramAggregation extends QueryAggregation
protected QueryAggregationQueryHistogramAggregation() {}

/**
* Gets the interval.
*
* <p>The size of the sections that the results are split into.
*
* @return the interval
*/
* Gets the interval.
*
* <p>The size of the sections that the results are split into.
*
* @return the interval
*/
public Long getInterval() {
return interval;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@ public class QueryAggregationQueryTimesliceAggregation extends QueryAggregation

protected QueryAggregationQueryTimesliceAggregation() {}


/**
* Gets the interval.
*
* <p>The date interval value.
*
* @return the interval
*/
* Gets the interval.
*
* <p>The date interval value.
*
* @return the interval
*/
public String getInterval() {
return interval;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,12 @@ public class LanguageTranslatorIT extends WatsonServiceTest {
private LanguageTranslator service;

private final Map<String, String> translations =
new HashMap<String, String>() {{
put("The IBM Watson team is awesome", "El equipo de IBM Watson es impresionante");
put("Welcome to the cognitive era", "Bienvenido a la era cognitiva");
}};
new HashMap<String, String>() {
{
put("The IBM Watson team is awesome", "El equipo de IBM Watson es impresionante");
put("Welcome to the cognitive era", "Bienvenido a la era cognitiva");
}
};
private final List<String> texts = new ArrayList<>(translations.keySet());

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public interface SpellOutMode {
protected String spellOutMode;
protected Long ratePercentage;
protected Long pitchPercentage;
protected List<String> timings;
protected List<String> timings;

/** Builder. */
public static class Builder {
Expand All @@ -137,7 +137,7 @@ public static class Builder {
private String spellOutMode;
private Long ratePercentage;
private Long pitchPercentage;
private List<String> timings;
private List<String> timings;

/**
* Instantiates a new Builder from an existing SynthesizeOptions instance.
Expand All @@ -152,7 +152,7 @@ private Builder(SynthesizeOptions synthesizeOptions) {
this.spellOutMode = synthesizeOptions.spellOutMode;
this.ratePercentage = synthesizeOptions.ratePercentage;
this.pitchPercentage = synthesizeOptions.pitchPercentage;
this.timings = synthesizeOptions.timings;
this.timings = synthesizeOptions.timings;
}

/** Instantiates a new builder. */
Expand Down

0 comments on commit 34f6a09

Please sign in to comment.