Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Oct 14, 2022
1 parent 147bc5b commit 0ab7b14
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ public <T, R> R reduceExecute(ExtensionCallback<BusinessExt, T> callback, @NotNu
if (!Lattice.getInstance().isInitialized()) {
throw new LatticeRuntimeException("LATTICE-CORE-RT-0023");
}
enrichAbilityInvokeContext(callback);
String extCode = getContext().getExtCode();
return reduceExecute(extCode, callback, reducer);
}
Expand Down Expand Up @@ -193,10 +192,6 @@ public final <T, R> ExecuteResult<R> reduceExecuteWithDetailResult(

@SuppressWarnings("all")
private <T> void enrichAbilityInvokeContext(ExtensionCallback<BusinessExt, T> callback) {
// if (null != this.getContext().getExtMethod() &&
// null != this.getContext().getInvokeParams()) {
// return;
// }
BusinessExt businessExt = this.getDefaultRealization();
List<Object> extParams = Lists.newArrayList();
Enhancer enhancer = new Enhancer();
Expand Down

0 comments on commit 0ab7b14

Please sign in to comment.