Skip to content

Commit 93405fb

Browse files
committed
Made processCommonDefinitionAnnotations(AnnotatedBeanDefinition) public
Issue: SPR-11032 (cherry picked from commit 8bd4804)
1 parent db056ae commit 93405fb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spring-context/src/main/java/org/springframework/context/annotation/AnnotationConfigUtils.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2013 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -230,7 +230,7 @@ private static BeanDefinitionHolder registerPostProcessor(
230230
return new BeanDefinitionHolder(definition, beanName);
231231
}
232232

233-
static void processCommonDefinitionAnnotations(AnnotatedBeanDefinition abd) {
233+
public static void processCommonDefinitionAnnotations(AnnotatedBeanDefinition abd) {
234234
AnnotationMetadata metadata = abd.getMetadata();
235235
if (metadata.isAnnotated(Primary.class.getName())) {
236236
abd.setPrimary(true);
@@ -260,5 +260,4 @@ static BeanDefinitionHolder applyScopedProxyMode(
260260
return ScopedProxyCreator.createScopedProxy(definition, registry, proxyTargetClass);
261261
}
262262

263-
264263
}

0 commit comments

Comments
 (0)