commit | 29d7116cff677a964b9892db9f72828bf06f45b6 | [log] [tgz] |
---|---|---|
author | Tomasz Niedzwiedz <tomasz.niedzwiedz@wundermanthompson.com> | Mon May 15 15:17:49 2023 +0200 |
committer | Stefan Seifert <stefanseifert@users.noreply.github.com> | Mon May 15 16:59:21 2023 +0200 |
tree | 734eae4dc227a7c282655492c03fd867b25e61e7 | |
parent | f8b83e055414a39053b0dee5fea210f86d068e1d [diff] |
SLING-11878 | Update ModifiableValueMap javadoc to cover missing methods inherited from java.util.Map The original javadoc for `ModifiableValueMap` was written before the addition of new methods to `java.util.Map` as of Java 8. This commit updates the javadoc to mention the following methods that can can be used to modify resources underlying a `ModifiableValueMap`: - `replace` - `replaceAll` - `compute` - `computeIfAbsent` - `computeIfPresent` - `merge` Refer to https://issues.apache.org/jira/browse/SLING-11878 for context.
This module is part of the Apache Sling project.
The Sling API defines an extension to the Servlet API 3.0 to provide access to content and unified access to request parameters hiding the differences between the different methods of transferring parameters from client to server. Note that the Sling API bundle does not include the Servlet API but instead requires the API to be provided by the Servlet container in which the Sling framework is running or by another bundle.