Integrated: 8273435: Remove redundant zero-length check in ClassDesc.of

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Wed Sep 29 23:11:44 UTC 2021


On Wed, 18 Aug 2021 07:28:57 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:

> After [JDK-8215510](https://bugs.openjdk.java.net/browse/JDK-8215510) (eed3a536c0) this condition is always `false`. Empty package name is handled separately.
> Found by IntelliJ inspection.

This pull request has now been integrated.

Changeset: 355356c4
Author:    Andrey Turbanov <turbanoff at gmail.com>
Committer: Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/355356c405adb9287b786b0b045c2eb974d2ffca
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8273435: Remove redundant zero-length check in ClassDesc.of

Reviewed-by: rriggs

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

PR: https://git.openjdk.java.net/jdk/pull/5157


More information about the core-libs-dev mailing list