RFR: 8354774: DocumentBuilderFactory getAttribute throws NPE [v2]
Joe Wang
joehw at openjdk.org
Mon Apr 21 16:19:30 UTC 2025
On Mon, 21 Apr 2025 08:11:33 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
>> Joe Wang has updated the pull request incrementally with one additional commit since the last revision:
>>
>> remove unused variable pName; remove unused imports
>
> src/java.xml/share/classes/jdk/xml/internal/JdkXmlUtils.java line 133:
>
>> 131: String property) {
>> 132: String value = null;
>> 133: if (xsm != null && (value = xsm.getLimitAsString(property)) != null) {
>
> Suggestion:
>
> if (xsm != null && (value = xsm.getLimitAsString(property)) != null) {
Thanks. Spaces adjusted.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24732#discussion_r2052669398
More information about the core-libs-dev
mailing list