GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(assistant-v2): location is no longer a required parameter for Run… · watson-developer-cloud/java-sdk@2971a3b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • assistant/src/main/java/com/ibm/watson/assistant/v2/model
    • RuntimeEntity.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎assistant/src/main/java/com/ibm/watson/assistant/v2/model/RuntimeEntity.java‎

Copy file name to clipboardExpand all lines: assistant/src/main/java/com/ibm/watson/assistant/v2/model/RuntimeEntity.java
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,10 @@ public Builder() {}
6161
* Instantiates a new builder with required properties.
6262
*
6363
* @param entity the entity
64-
* @param location the location
6564
* @param value the value
6665
*/
67-
public Builder(String entity, List<Long> location, String value) {
66+
public Builder(String entity, String value) {
6867
this.entity = entity;
69-
this.location = location;
7068
this.value = value;
7169
}
7270

@@ -226,7 +224,6 @@ public Builder role(RuntimeEntityRole role) {
226224

227225
protected RuntimeEntity(Builder builder) {
228226
com.ibm.cloud.sdk.core.util.Validator.notNull(builder.entity, "entity cannot be null");
229-
com.ibm.cloud.sdk.core.util.Validator.notNull(builder.location, "location cannot be null");
230227
com.ibm.cloud.sdk.core.util.Validator.notNull(builder.value, "value cannot be null");
231228
entity = builder.entity;
232229
location = builder.location;

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.