Skip to content

Commit

Permalink
Fix Previous Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Jun 16, 2022
1 parent 5062410 commit 6dae0fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public boolean isAutoStartup() {
public void setAdviceChain(Advice... advices) {
Assert.notNull(advices, "'advices' cannot be null");
Assert.noNullElements(advices, "'advices' cannot have null elements");
this.adviceChain = Arrays.copyOf(adviceChain, adviceChain.length);
this.adviceChain = Arrays.copyOf(advices, advices.length);
}

@Override
Expand Down

0 comments on commit 6dae0fc

Please sign in to comment.