Polishing

This commit is contained in:
Sam Brannen 2024-09-23 16:18:16 +02:00
parent c6fa180602
commit 7d99790c34
3 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -22,7 +22,8 @@ import org.springframework.util.ObjectUtils;
/**
* Holder for a key-value style attribute that is part of a bean definition.
* Keeps track of the definition source in addition to the key-value pair.
*
* <p>Keeps track of the definition source in addition to the key-value pair.
*
* @author Juergen Hoeller
* @since 2.5
@ -39,7 +40,7 @@ public class BeanMetadataAttribute implements BeanMetadataElement {
/**
* Create a new AttributeValue instance.
* Create a new {@code AttributeValue} instance.
* @param name the name of the attribute (never {@code null})
* @param value the value of the attribute (possibly before type conversion)
*/

View File

@ -53,7 +53,7 @@ import org.springframework.util.StringUtils;
* of the test class.
*
* <p>This processor does not work against a particular test class, it only prepares
* the bean factory for the identified, unique, set of bean overrides.
* the bean factory for the identified, unique set of bean overrides.
*
* @author Simon Baslé
* @author Stephane Nicoll

View File

@ -22,7 +22,6 @@ import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@ -110,7 +109,6 @@ public class MockitoBeanWithResetIntegrationTests {
}
@Bean("factory")
@Qualifier("factory")
FailingExampleServiceFactory factory() {
return new FailingExampleServiceFactory();
}