mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-13 03:45:19 +00:00
8266796: Clean up the unnecessary code in the method UnsharedNameTable#fromUtf
Reviewed-by: mcimadamore
This commit is contained in:
parent
e41fd73529
commit
5d761fcffd
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1999, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -96,10 +96,6 @@ public class UnsharedNameTable extends Name.Table {
|
||||
HashEntry firstTableEntry = element;
|
||||
|
||||
while (element != null) {
|
||||
if (element == null) {
|
||||
break;
|
||||
}
|
||||
|
||||
n = element.get();
|
||||
|
||||
if (n == null) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user