Skip to content

Commit

Permalink
remove static import
Browse files Browse the repository at this point in the history
  • Loading branch information
codeimport committed May 13, 2021
1 parent 8336a4b commit 407ad9f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
import org.springframework.test.context.event.annotation.AfterTestMethod;
import org.springframework.test.context.junit.jupiter.SpringExtension;

import static org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.BEAN_NAME;

@ExtendWith(SpringExtension.class)
@ContextConfiguration(
classes = {
Expand All @@ -57,7 +55,7 @@ public void setUp() {
DubboBootstrap.reset();
}

@Bean(BEAN_NAME)
@Bean("referenceAnnotationBeanPostProcessor")
public ReferenceAnnotationBeanPostProcessor referenceAnnotationBeanPostProcessor() {
return new ReferenceAnnotationBeanPostProcessor();
}
Expand Down

0 comments on commit 407ad9f

Please sign in to comment.