RFR: 8312444: Delete unused parameters and variables in SocketPermission [v3]
Korov
duke at openjdk.org
Thu Mar 7 16:53:22 UTC 2024
> Removing unused parameter `defval` in `SocketPermission.initEphemeralPorts`, so the variable `PRIV_PORT_MAX` and `DEF_EPH_LOW` unused too.
>
> Removing unused parameter `cname` in `SocketPermission.authorizedIPv4` and `SocketPermission.authorizedIPv6`.
>
> Parameter 'action' must be not empty so `a.length > 0`, the check `a.length - 1 < 0` can be removed.
Korov has updated the pull request incrementally with one additional commit since the last revision:
revert change
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/18086/files
- new: https://git.openjdk.org/jdk/pull/18086/files/9ebd6e12..e8c948a7
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=18086&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=18086&range=01-02
Stats: 8 lines in 1 file changed: 7 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/18086.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18086/head:pull/18086
PR: https://git.openjdk.org/jdk/pull/18086
More information about the security-dev
mailing list