File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
spring-core/src/testFixtures/java/org/springframework/core/testfixture/env
spring-test/src/main/java/org/springframework/mock/env Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2023 the original author or authors.
2
+ * Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
26
26
* a user-provided {@link Properties} object, or if omitted during construction,
27
27
* the implementation will initialize its own.
28
28
*
29
- * The {@link #setProperty} and {@link #withProperty} methods are exposed for
29
+ * <p> The {@link #setProperty} and {@link #withProperty} methods are exposed for
30
30
* convenience, for example:
31
31
* <pre class="code">
32
32
* {@code
@@ -95,7 +95,7 @@ public void setProperty(String name, Object value) {
95
95
96
96
/**
97
97
* 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.
99
99
* @return this {@link MockPropertySource} instance
100
100
*/
101
101
public MockPropertySource withProperty (String name , Object value ) {
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2023 the original author or authors.
2
+ * Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
26
26
* a user-provided {@link Properties} object, or if omitted during construction,
27
27
* the implementation will initialize its own.
28
28
*
29
- * The {@link #setProperty} and {@link #withProperty} methods are exposed for
29
+ * <p> The {@link #setProperty} and {@link #withProperty} methods are exposed for
30
30
* convenience, for example:
31
31
* <pre class="code">
32
32
* {@code
36
36
*
37
37
* @author Chris Beams
38
38
* @since 3.1
39
- * @see org.springframework.mock.env. MockEnvironment
39
+ * @see MockEnvironment
40
40
*/
41
41
public class MockPropertySource extends PropertiesPropertySource {
42
42
@@ -95,7 +95,7 @@ public void setProperty(String name, Object value) {
95
95
96
96
/**
97
97
* 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.
99
99
* @return this {@link MockPropertySource} instance
100
100
*/
101
101
public MockPropertySource withProperty (String name , Object value ) {
You can’t perform that action at this time.
0 commit comments