Skip to content

Commit

Permalink
Revert context function
Browse files Browse the repository at this point in the history
  • Loading branch information
yesamer committed Jun 27, 2024
1 parent 4353ae8 commit 8c51ef3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 96 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ public FEELFnResult<Map<String, Object>> invoke(@ParameterName("entries") List<O
} else {
return FEELFnResult.ofError(new InvalidParametersEvent(FEELEvent.Severity.ERROR, "entry of index " + (h_index) + " is missing a `value` entry"));
}
if (result.containsKey(key)) {
return FEELFnResult.ofError(new InvalidParametersEvent(FEELEvent.Severity.ERROR, "entry of index " + (h_index) + " contains duplicate key"));
}
result.put(key, value);
} else {
return FEELFnResult.ofError(new InvalidParametersEvent(FEELEvent.Severity.ERROR, "entry of index " + (h_index) + " is not a valid context"));
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 8c51ef3

Please sign in to comment.