This is an automated email from the ASF dual-hosted git repository.
garydgregory 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 ee9fb05 Flip null test
ee9fb05 is described below
commit ee9fb0593ef4cafaaf2a5926cfb03fd51d887b94
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Jul 5 09:40:04 2026 -0400
Flip null test
---
src/main/java/org/apache/commons/logging/impl/SimpleLog.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/logging/impl/SimpleLog.java
b/src/main/java/org/apache/commons/logging/impl/SimpleLog.java
index eb5ee5a..7c6824d 100644
--- a/src/main/java/org/apache/commons/logging/impl/SimpleLog.java
+++ b/src/main/java/org/apache/commons/logging/impl/SimpleLog.java
@@ -144,7 +144,7 @@ public class SimpleLog implements Log, Serializable {
static {
// Add props from the resource simplelog.properties
try (InputStream in = getResourceAsStream("simplelog.properties")) {
- if (null != in) {
+ if (in != null) {
simpleLogProps.load(in);
}
} catch (final IOException ignore) {