Skip to content

Commit 047e39c

Browse files
committed
chore(natural-language-understanding-v1): manual changes
1 parent e7ccd32 commit 047e39c

File tree

1 file changed

+5
-5
lines changed
  • natural-language-understanding/src/main/java/com/ibm/watson/natural_language_understanding/v1/model

1 file changed

+5
-5
lines changed

natural-language-understanding/src/main/java/com/ibm/watson/natural_language_understanding/v1/model/Features.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import com.google.gson.annotations.SerializedName;
1616
import com.ibm.cloud.sdk.core.service.model.GenericModel;
1717

18-
import java.util.HashMap;
18+
import java.util.Map;
1919

2020
/** Analysis features and options. */
2121
public class Features extends GenericModel {
@@ -25,7 +25,7 @@ public class Features extends GenericModel {
2525
protected EmotionOptions emotion;
2626
protected EntitiesOptions entities;
2727
protected KeywordsOptions keywords;
28-
protected HashMap<String, Object> metadata;
28+
protected Map<String, Object> metadata;
2929
protected RelationsOptions relations;
3030

3131
@SerializedName("semantic_roles")
@@ -43,7 +43,7 @@ public static class Builder {
4343
private EmotionOptions emotion;
4444
private EntitiesOptions entities;
4545
private KeywordsOptions keywords;
46-
private HashMap<String, Object> metadata;
46+
private Map<String, Object> metadata;
4747
private RelationsOptions relations;
4848
private SemanticRolesOptions semanticRoles;
4949
private SentimentOptions sentiment;
@@ -139,7 +139,7 @@ public Builder keywords(KeywordsOptions keywords) {
139139
* @param metadata the metadata
140140
* @return the Features builder
141141
*/
142-
public Builder metadata(HashMap<String, Object> metadata) {
142+
public Builder metadata(Map<String, Object> metadata) {
143143
this.metadata = metadata;
144144
return this;
145145
}
@@ -317,7 +317,7 @@ public KeywordsOptions keywords() {
317317
*
318318
* @return the metadata
319319
*/
320-
public HashMap<String, Object> metadata() {
320+
public Map<String, Object> metadata() {
321321
return metadata;
322322
}
323323

0 commit comments

Comments
 (0)