RFR: 8305963: Typo in java.security.Security.getProperty

Sean Mullan mullan at openjdk.org
Mon May 1 15:37:54 UTC 2023


On Fri, 28 Apr 2023 20:55:33 GMT, Kevin Driver <kdriver at openjdk.org> wrote:

> Fix type-o and update returns message.

src/java.base/share/classes/java/security/Security.java line 705:

> 703:      * @param key the key of the property being retrieved.
> 704:      *
> 705:      * @return the string value of the security property, or null if there

I don't think saying "string" is necessary - since this method can only return a String.
Put "null" in code syntax: {@code null}.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13729#discussion_r1181655614



More information about the security-dev mailing list