Skip to content

Commit

Permalink
Inactionware#99 code to enhance behavior tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
minjing committed Mar 17, 2019
1 parent 0ed0aac commit f81038c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions uapi.behavior/src/main/java/uapi/behavior/ActionOutput.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,9 @@ public T get() {
public ActionOutputMeta meta() {
return this._meta;
}

@Override
public String toString() {
return this._output != null ? this._output.toString() : null;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public ActionOutput[] currentOutputs() {
*
* @return The last outputted data
*/
public Object[] currentResult() {
public Object[] currentInputs() {
return (Object[]) get(KEY_CURRENT_INPUTS);
}

Expand Down

0 comments on commit f81038c

Please sign in to comment.