diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v1/model/DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.java b/assistant/src/main/java/com/ibm/watson/assistant/v1/model/DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.java index 4b6cb4bb9e..c10e4e4fae 100644 --- a/assistant/src/main/java/com/ibm/watson/assistant/v1/model/DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.java +++ b/assistant/src/main/java/com/ibm/watson/assistant/v1/model/DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.java @@ -20,7 +20,7 @@ public class DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent extends DialogNodeOutputGeneric { -@SerializedName("transfer_info") + @SerializedName("transfer_info") private DialogNodeOutputConnectToAgentTransferInfo transferInfo; /** Builder. */ diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v1/model/RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.java b/assistant/src/main/java/com/ibm/watson/assistant/v1/model/RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.java index fbd95734c3..38983d48c9 100644 --- a/assistant/src/main/java/com/ibm/watson/assistant/v1/model/RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.java +++ b/assistant/src/main/java/com/ibm/watson/assistant/v1/model/RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.java @@ -20,7 +20,7 @@ public class RuntimeResponseGenericRuntimeResponseTypeChannelTransfer extends RuntimeResponseGeneric { -@SerializedName("transfer_info") + @SerializedName("transfer_info") protected ChannelTransferInfo transferInfo; /** Builder. */ diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v1/model/RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.java b/assistant/src/main/java/com/ibm/watson/assistant/v1/model/RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.java index f7187e19a3..c423bcd884 100644 --- a/assistant/src/main/java/com/ibm/watson/assistant/v1/model/RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.java +++ b/assistant/src/main/java/com/ibm/watson/assistant/v1/model/RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.java @@ -20,7 +20,7 @@ public class RuntimeResponseGenericRuntimeResponseTypeConnectToAgent extends RuntimeResponseGeneric { -@SerializedName("transfer_info") + @SerializedName("transfer_info") protected DialogNodeOutputConnectToAgentTransferInfo transferInfo; /** Builder. */ diff --git a/assistant/src/test/java/com/ibm/watson/assistant/v2/AssistantServiceIT.java b/assistant/src/test/java/com/ibm/watson/assistant/v2/AssistantServiceIT.java index 336f1021ee..21cadae38e 100644 --- a/assistant/src/test/java/com/ibm/watson/assistant/v2/AssistantServiceIT.java +++ b/assistant/src/test/java/com/ibm/watson/assistant/v2/AssistantServiceIT.java @@ -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 genericResponses = messageResponse.getOutput().getGeneric(); diff --git a/discovery/src/main/java/com/ibm/watson/discovery/v2/model/QueryAggregationQueryHistogramAggregation.java b/discovery/src/main/java/com/ibm/watson/discovery/v2/model/QueryAggregationQueryHistogramAggregation.java index 301fdcef01..3bf854e299 100644 --- a/discovery/src/main/java/com/ibm/watson/discovery/v2/model/QueryAggregationQueryHistogramAggregation.java +++ b/discovery/src/main/java/com/ibm/watson/discovery/v2/model/QueryAggregationQueryHistogramAggregation.java @@ -27,12 +27,12 @@ public class QueryAggregationQueryHistogramAggregation extends QueryAggregation protected QueryAggregationQueryHistogramAggregation() {} /** - * Gets the interval. - * - *

The size of the sections that the results are split into. - * - * @return the interval - */ + * Gets the interval. + * + *

The size of the sections that the results are split into. + * + * @return the interval + */ public Long getInterval() { return interval; } diff --git a/discovery/src/main/java/com/ibm/watson/discovery/v2/model/QueryAggregationQueryTimesliceAggregation.java b/discovery/src/main/java/com/ibm/watson/discovery/v2/model/QueryAggregationQueryTimesliceAggregation.java index 300b9300e3..d001da825b 100644 --- a/discovery/src/main/java/com/ibm/watson/discovery/v2/model/QueryAggregationQueryTimesliceAggregation.java +++ b/discovery/src/main/java/com/ibm/watson/discovery/v2/model/QueryAggregationQueryTimesliceAggregation.java @@ -23,14 +23,13 @@ public class QueryAggregationQueryTimesliceAggregation extends QueryAggregation protected QueryAggregationQueryTimesliceAggregation() {} - /** - * Gets the interval. - * - *

The date interval value. - * - * @return the interval - */ + * Gets the interval. + * + *

The date interval value. + * + * @return the interval + */ public String getInterval() { return interval; } diff --git a/language-translator/src/test/java/com/ibm/watson/language_translator/v3/LanguageTranslatorIT.java b/language-translator/src/test/java/com/ibm/watson/language_translator/v3/LanguageTranslatorIT.java index 94e8bf4924..b4bb9ff089 100644 --- a/language-translator/src/test/java/com/ibm/watson/language_translator/v3/LanguageTranslatorIT.java +++ b/language-translator/src/test/java/com/ibm/watson/language_translator/v3/LanguageTranslatorIT.java @@ -46,10 +46,12 @@ public class LanguageTranslatorIT extends WatsonServiceTest { private LanguageTranslator service; private final Map translations = - new HashMap() {{ - 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() { + { + 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 texts = new ArrayList<>(translations.keySet()); /** diff --git a/text-to-speech/src/main/java/com/ibm/watson/text_to_speech/v1/model/SynthesizeOptions.java b/text-to-speech/src/main/java/com/ibm/watson/text_to_speech/v1/model/SynthesizeOptions.java index 9ed58caeea..3c939c7a6c 100644 --- a/text-to-speech/src/main/java/com/ibm/watson/text_to_speech/v1/model/SynthesizeOptions.java +++ b/text-to-speech/src/main/java/com/ibm/watson/text_to_speech/v1/model/SynthesizeOptions.java @@ -126,7 +126,7 @@ public interface SpellOutMode { protected String spellOutMode; protected Long ratePercentage; protected Long pitchPercentage; -protected List timings; + protected List timings; /** Builder. */ public static class Builder { @@ -137,7 +137,7 @@ public static class Builder { private String spellOutMode; private Long ratePercentage; private Long pitchPercentage; -private List timings; + private List timings; /** * Instantiates a new Builder from an existing SynthesizeOptions instance. @@ -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. */