Skip to content

Commit

Permalink
Avoid synchronization in AbstractAspectJAdvice#calculateArgumentBindings
Browse files Browse the repository at this point in the history
Aligned with the early calculateArgumentBindings call in ReflectiveAspectJAdvisorFactory.

Closes gh-26377
  • Loading branch information
jhoeller committed Jul 13, 2022
1 parent bd34996 commit 8e5c490
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -368,7 +368,7 @@ private static boolean isVariableName(String name) {
* to which argument name. There are multiple strategies for determining
* this binding, which are arranged in a ChainOfResponsibility.
*/
public final synchronized void calculateArgumentBindings() {
public final void calculateArgumentBindings() {
// The simple case... nothing to bind.
if (this.argumentsIntrospected || this.parameterTypes.length == 0) {
return;
Expand Down

0 comments on commit 8e5c490

Please sign in to comment.