Polish "Add support for making MapAccessor read-only"

See gh-33222
This commit is contained in:
Stéphane Nicoll
2024-07-17 11:34:47 +02:00
parent a0e43b1f46
commit 821109bd06
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,6 @@ import org.springframework.util.Assert;
*
* @author Juergen Hoeller
* @author Andy Clement
* @author Yanming Zhou
* @since 3.0
*/
public class MapAccessor implements CompilablePropertyAccessor {
@@ -42,6 +41,7 @@ public class MapAccessor implements CompilablePropertyAccessor {
/**
* Create a new map accessor for reading as well as writing.
* @since 6.2
* @see #MapAccessor(boolean)
*/
public MapAccessor() {
@@ -51,6 +51,7 @@ public class MapAccessor implements CompilablePropertyAccessor {
/**
* Create a new map accessor for reading and possibly also writing.
* @param allowWrite whether to allow write operations on a target instance
* @since 6.2
* @see #canWrite
*/
public MapAccessor(boolean allowWrite) {