Skip to content

Commit 6a6abac

Browse files
committed
Polish Javadoc for MockPropertySource
1 parent 66f8eb0 commit 6a6abac

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

spring-core/src/testFixtures/java/org/springframework/core/testfixture/env/MockPropertySource.java

Lines changed: 3 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-2025 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.
@@ -26,7 +26,7 @@
2626
* a user-provided {@link Properties} object, or if omitted during construction,
2727
* the implementation will initialize its own.
2828
*
29-
* The {@link #setProperty} and {@link #withProperty} methods are exposed for
29+
* <p>The {@link #setProperty} and {@link #withProperty} methods are exposed for
3030
* convenience, for example:
3131
* <pre class="code">
3232
* {@code
@@ -95,7 +95,7 @@ public void setProperty(String name, Object value) {
9595

9696
/**
9797
* Convenient synonym for {@link #setProperty} that returns the current instance.
98-
* Useful for method chaining and fluent-style use.
98+
* <p>Useful for method chaining and fluent-style use.
9999
* @return this {@link MockPropertySource} instance
100100
*/
101101
public MockPropertySource withProperty(String name, Object value) {

spring-test/src/main/java/org/springframework/mock/env/MockPropertySource.java

Lines changed: 4 additions & 4 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-2025 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.
@@ -26,7 +26,7 @@
2626
* a user-provided {@link Properties} object, or if omitted during construction,
2727
* the implementation will initialize its own.
2828
*
29-
* The {@link #setProperty} and {@link #withProperty} methods are exposed for
29+
* <p>The {@link #setProperty} and {@link #withProperty} methods are exposed for
3030
* convenience, for example:
3131
* <pre class="code">
3232
* {@code
@@ -36,7 +36,7 @@
3636
*
3737
* @author Chris Beams
3838
* @since 3.1
39-
* @see org.springframework.mock.env.MockEnvironment
39+
* @see MockEnvironment
4040
*/
4141
public class MockPropertySource extends PropertiesPropertySource {
4242

@@ -95,7 +95,7 @@ public void setProperty(String name, Object value) {
9595

9696
/**
9797
* Convenient synonym for {@link #setProperty} that returns the current instance.
98-
* Useful for method chaining and fluent-style use.
98+
* <p>Useful for method chaining and fluent-style use.
9999
* @return this {@link MockPropertySource} instance
100100
*/
101101
public MockPropertySource withProperty(String name, Object value) {

0 commit comments

Comments
 (0)