You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/09/12 01:02:50 UTC
(commons-logging) branch master updated: Remove trailing whitespace
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-logging.git
The following commit(s) were added to refs/heads/master by this push:
new 86a37e3 Remove trailing whitespace
86a37e3 is described below
commit 86a37e318d4a28977dcbfd8cdbf1ffba2010bef5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Sep 11 21:02:44 2024 -0400
Remove trailing whitespace
---
src/main/java/org/apache/commons/logging/LogFactory.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/commons/logging/LogFactory.java b/src/main/java/org/apache/commons/logging/LogFactory.java
index d551f19..0f29e1a 100644
--- a/src/main/java/org/apache/commons/logging/LogFactory.java
+++ b/src/main/java/org/apache/commons/logging/LogFactory.java
@@ -247,7 +247,7 @@ public abstract class LogFactory {
// output diagnostics from this class are static.
String classLoaderName;
try {
- classLoaderName = thisClassLoader != null ? objectId(thisClassLoader) : "BOOTLOADER";
+ classLoaderName = thisClassLoader != null ? objectId(thisClassLoader) : "BOOTLOADER";
} catch (final SecurityException e) {
classLoaderName = "UNKNOWN";
}
@@ -849,12 +849,12 @@ public abstract class LogFactory {
// Third try looking into the properties file read earlier (if found)
if (factory == null) {
if (props != null) {
- logDiagnostic(() ->
+ logDiagnostic(() ->
"[LOOKUP] Looking in properties file for entry with key '" + FACTORY_PROPERTY +
"' to define the LogFactory subclass to use...");
final String factoryClass = props.getProperty(FACTORY_PROPERTY);
if (factoryClass != null) {
- logDiagnostic(() ->
+ logDiagnostic(() ->
"[LOOKUP] Properties file specifies LogFactory subclass '" + factoryClass + "'");
factory = newFactory(factoryClass, baseClassLoader, contextClassLoader);
// TODO: think about whether we need to handle exceptions from newFactory
@@ -879,7 +879,7 @@ public abstract class LogFactory {
logDiagnostic("Created object " + objectId(factory) + " to manage class loader " + objectId(contextClassLoader));
}
} else {
- logDiagnostic(() ->
+ logDiagnostic(() ->
"[LOOKUP] Loading the default LogFactory implementation '" + FACTORY_DEFAULT +
"' via the same class loader that loaded this LogFactory class (ie not looking in the context class loader).");
// Note: unlike the above code which can try to load custom LogFactory