On Fri, 1 Mar 2024 17:35:35 GMT, Korov <d...@openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 379ad1fb
Author:    Korov <kor...@163.com>
Committer: Daniel Fuchs <dfu...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/379ad1fbb4432c044912139e3d4e897988a341fa
Stats:     24 lines in 1 file changed: 0 ins; 9 del; 15 mod

8312444: Delete unused parameters and variables in SocketPermission

Reviewed-by: gli, aturbanov, dfuchs

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

PR: https://git.openjdk.org/jdk/pull/18086

Reply via email to