You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2022/06/20 01:57:01 UTC
[dubbo] branch 3.0 updated: Remove unused parameters of ServiceAnnotationPostProcessor#processScannedBeanDefinition method (#10152)
This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.0 by this push:
new bdda9e56df Remove unused parameters of ServiceAnnotationPostProcessor#processScannedBeanDefinition method (#10152)
bdda9e56df is described below
commit bdda9e56df1ae2cb89a2f36bbdba6f3fac63cb04
Author: 灼华 <43...@users.noreply.github.com>
AuthorDate: Mon Jun 20 09:56:28 2022 +0800
Remove unused parameters of ServiceAnnotationPostProcessor#processScannedBeanDefinition method (#10152)
---
.../beans/factory/annotation/ServiceAnnotationPostProcessor.java | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ServiceAnnotationPostProcessor.java b/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ServiceAnnotationPostProcessor.java
index 5e91ecb172..8faff061e5 100644
--- a/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ServiceAnnotationPostProcessor.java
+++ b/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ServiceAnnotationPostProcessor.java
@@ -230,7 +230,7 @@ public class ServiceAnnotationPostProcessor implements BeanDefinitionRegistryPos
}
for (BeanDefinitionHolder beanDefinitionHolder : beanDefinitionHolders) {
- processScannedBeanDefinition(beanDefinitionHolder, registry, scanner);
+ processScannedBeanDefinition(beanDefinitionHolder);
servicePackagesHolder.addScannedClass(beanDefinitionHolder.getBeanDefinition().getBeanClassName());
}
} else {
@@ -318,13 +318,10 @@ public class ServiceAnnotationPostProcessor implements BeanDefinitionRegistryPos
* Registers {@link ServiceBean} from new annotated {@link Service} {@link BeanDefinition}
*
* @param beanDefinitionHolder
- * @param registry
- * @param scanner
* @see ServiceBean
* @see BeanDefinition
*/
- private void processScannedBeanDefinition(BeanDefinitionHolder beanDefinitionHolder, BeanDefinitionRegistry registry,
- DubboClassPathBeanDefinitionScanner scanner) {
+ private void processScannedBeanDefinition(BeanDefinitionHolder beanDefinitionHolder) {
Class<?> beanClass = resolveClass(beanDefinitionHolder);