RFR: 8259385: Cleanup unused assignment
Xue-Lei Andrew Fan
xuelei at openjdk.java.net
Thu Jan 7 18:35:07 UTC 2021
In the SunJSSE provider implementation, there are a few cases that the assigned value is never used. For example:
int i = 0;
i = Byte.toUnsignedInt(buf.get());
could be simplified as
` int i = Byte.toUnsignedInt(buf.get());`
Code cleanup, no new regression test.
-------------
Commit messages:
- 8259385: Cleanup unused assignment
Changes: https://git.openjdk.java.net/jdk/pull/1984/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1984&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8259385
Stats: 87 lines in 18 files changed: 16 ins; 25 del; 46 mod
Patch: https://git.openjdk.java.net/jdk/pull/1984.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1984/head:pull/1984
PR: https://git.openjdk.java.net/jdk/pull/1984
More information about the security-dev
mailing list