mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8283049: Fix non-singleton LoggerFinder error message: s/on/one
Reviewed-by: dfuchs
This commit is contained in:
parent
7833667f0e
commit
70bd57ed35
2 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2022, 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
|
||||
|
@ -129,7 +129,7 @@ public final class LoggerFinderLoader {
|
|||
result = iterator.next();
|
||||
if (iterator.hasNext() && ensureSingletonProvider()) {
|
||||
throw new ServiceConfigurationError(
|
||||
"More than on LoggerFinder implementation");
|
||||
"More than one LoggerFinder implementation");
|
||||
}
|
||||
} else {
|
||||
result = loadDefaultImplementation();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue