Skip to content

Commit 821109b

Browse files
committed
Polish "Add support for making MapAccessor read-only"
See gh-33222
1 parent a0e43b1 commit 821109b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-context/src/main/java/org/springframework/context/expression/MapAccessor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
*
3434
* @author Juergen Hoeller
3535
* @author Andy Clement
36-
* @author Yanming Zhou
3736
* @since 3.0
3837
*/
3938
public class MapAccessor implements CompilablePropertyAccessor {
@@ -42,6 +41,7 @@ public class MapAccessor implements CompilablePropertyAccessor {
4241

4342
/**
4443
* Create a new map accessor for reading as well as writing.
44+
* @since 6.2
4545
* @see #MapAccessor(boolean)
4646
*/
4747
public MapAccessor() {
@@ -51,6 +51,7 @@ public MapAccessor() {
5151
/**
5252
* Create a new map accessor for reading and possibly also writing.
5353
* @param allowWrite whether to allow write operations on a target instance
54+
* @since 6.2
5455
* @see #canWrite
5556
*/
5657
public MapAccessor(boolean allowWrite) {

spring-context/src/test/java/org/springframework/context/expression/MapAccessorTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
* Tests for {@link MapAccessor}.
3333
*
3434
* @author Andy Clement
35-
* @author Yanming Zhou
3635
*/
3736
class MapAccessorTests {
3837

0 commit comments

Comments
 (0)