mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8345175: Further cleanup in java.logging and jdk.internal.logger after JEP 486 integration
Reviewed-by: alanb, coffeys
This commit is contained in:
parent
7dc00d39b4
commit
3b21a298c2
2 changed files with 4 additions and 13 deletions
|
@ -148,8 +148,6 @@ public final class LoggerFinderLoader {
|
|||
private static System.LoggerFinder loadLoggerFinder() {
|
||||
System.LoggerFinder result;
|
||||
try {
|
||||
// Iterator iterates with the access control context stored
|
||||
// at ServiceLoader creation time.
|
||||
final Iterator<System.LoggerFinder> iterator =
|
||||
findLoggerFinderProviders();
|
||||
if (iterator.hasNext()) {
|
||||
|
@ -197,8 +195,6 @@ public final class LoggerFinderLoader {
|
|||
|
||||
DefaultLoggerFinder result = null;
|
||||
try {
|
||||
// Iterator iterates with the access control context stored
|
||||
// at ServiceLoader creation time.
|
||||
if (iterator.hasNext()) {
|
||||
result = iterator.next();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue