8283049: Fix non-singleton LoggerFinder error message: s/on/one

Reviewed-by: dfuchs
This commit is contained in:
Carter Kozak 2022-03-14 17:54:19 +00:00 committed by Daniel Fuchs
parent 7833667f0e
commit 70bd57ed35
2 changed files with 5 additions and 5 deletions

View file

@ -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();