On Sat, 11 Jun 2022 10:52:29 GMT, Andrey Turbanov <[email protected]> wrote:
> Instead of pair `LinkedHashMap.get`+`LinkedHashMap.remove` calls, we can use > value returned from single `allTaglets.remove` call. > It's shorter and a bit faster. > https://github.com/openjdk/jdk/blob/d46f404b3179c66e8e5775a9e2253c95238153c7/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/TagletManager.java#L314-L325 This pull request has now been integrated. Changeset: b4e1aa87 Author: Andrey Turbanov <[email protected]> URL: https://git.openjdk.org/jdk/commit/b4e1aa87e3caa56bde52120bb3d84da53e7ebaa3 Stats: 5 lines in 1 file changed: 1 ins; 2 del; 2 mod 8289658: Avoid redundant LinkedHashMap.get call in TagletManager.addNewSimpleCustomTag Reviewed-by: attila, prappo ------------- PR: https://git.openjdk.org/jdk/pull/9137
