Преглед на файлове

Defer Sorting AuthorizationAdvisors in addAdvisor

Issue gh-15658
Josh Cummings преди 1 година
родител
ревизия
1118b0ec63
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      core/src/main/java/org/springframework/security/authorization/method/AuthorizationAdvisorProxyFactory.java

+ 0 - 1
core/src/main/java/org/springframework/security/authorization/method/AuthorizationAdvisorProxyFactory.java

@@ -214,7 +214,6 @@ public final class AuthorizationAdvisorProxyFactory
 	 */
 	public void addAdvisor(AuthorizationAdvisor advisor) {
 		this.advisors.add(advisor);
-		AnnotationAwareOrderComparator.sort(this.advisors);
 	}
 
 	/**