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 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.
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 ) {
Original file line number Diff line number Diff line change 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.
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
3636 *
3737 * @author Chris Beams
3838 * @since 3.1
39- * @see org.springframework.mock.env. MockEnvironment
39+ * @see MockEnvironment
4040 */
4141public 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 ) {
You can’t perform that action at this time.
0 commit comments