8266796: Clean up the unnecessary code in the method UnsharedNameTable#fromUtf

Reviewed-by: mcimadamore
This commit is contained in:
Guoxiong Li 2021-05-10 14:27:21 +00:00 committed by Maurizio Cimadamore
parent e41fd73529
commit 5d761fcffd

View File

@ -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) {