Skip to content

Commit 7d99790

Browse files
committed
Polishing
1 parent c6fa180 commit 7d99790

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

spring-beans/src/main/java/org/springframework/beans/BeanMetadataAttribute.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2024 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.
@@ -22,7 +22,8 @@
2222

2323
/**
2424
* Holder for a key-value style attribute that is part of a bean definition.
25-
* Keeps track of the definition source in addition to the key-value pair.
25+
*
26+
* <p>Keeps track of the definition source in addition to the key-value pair.
2627
*
2728
* @author Juergen Hoeller
2829
* @since 2.5
@@ -39,7 +40,7 @@ public class BeanMetadataAttribute implements BeanMetadataElement {
3940

4041

4142
/**
42-
* Create a new AttributeValue instance.
43+
* Create a new {@code AttributeValue} instance.
4344
* @param name the name of the attribute (never {@code null})
4445
* @param value the value of the attribute (possibly before type conversion)
4546
*/

spring-test/src/main/java/org/springframework/test/context/bean/override/BeanOverrideBeanFactoryPostProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* of the test class.
5454
*
5555
* <p>This processor does not work against a particular test class, it only prepares
56-
* the bean factory for the identified, unique, set of bean overrides.
56+
* the bean factory for the identified, unique set of bean overrides.
5757
*
5858
* @author Simon Baslé
5959
* @author Stephane Nicoll

spring-test/src/test/java/org/springframework/test/context/bean/override/mockito/MockitoBeanWithResetIntegrationTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import org.junit.jupiter.api.TestMethodOrder;
2323

2424
import org.springframework.beans.factory.FactoryBean;
25-
import org.springframework.beans.factory.annotation.Qualifier;
2625
import org.springframework.context.ApplicationContext;
2726
import org.springframework.context.annotation.Bean;
2827
import org.springframework.context.annotation.Configuration;
@@ -110,7 +109,6 @@ ExampleService bean1() {
110109
}
111110

112111
@Bean("factory")
113-
@Qualifier("factory")
114112
FailingExampleServiceFactory factory() {
115113
return new FailingExampleServiceFactory();
116114
}

0 commit comments

Comments
 (0)