[LOGGING-186] Replace custom code with ServiceLoader call (#171)
* Replace custom code with `ServiceLoader` call * Files should end with an empty line * Files should end with an empty line * Comment empty block * Comment empty block --------- Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
# regarding copyright ownership. The ASF licenses this file
|
||||
# to you under the Apache License, Version 2.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
##
|
||||
# Version 1.2 of Apache Commons Logging did not support comments in the service file.
|
||||
#
|
||||
# A class that does not implement LogFactory to emulate services the implement
|
||||
# LogFactory for another classloader
|
||||
org.apache.commons.logging.serviceloader.internal.ThrowingLogFactory
|
||||
##
|
||||
# A proper LogFactory
|
||||
org.apache.commons.logging.serviceloader.internal.DummyLogFactory
|
||||
1
src/test/resources/serviceloader/README.txt
Normal file
1
src/test/resources/serviceloader/README.txt
Normal file
@@ -0,0 +1 @@
|
||||
Contains resources used exclusively by `ServiceLoaderTestCase`
|
||||
Reference in New Issue
Block a user