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 d114c8f Use final
d114c8f is described below
commit d114c8f41721a43accef212e809d07b997ec549d
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Dec 20 15:30:22 2025 -0500
Use final
---
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 858235d..de7be38 100644
--- a/src/main/java/org/apache/commons/logging/impl/SimpleLog.java
+++ b/src/main/java/org/apache/commons/logging/impl/SimpleLog.java
@@ -149,7 +149,7 @@ public class SimpleLog implements Log, Serializable {
showShortName = getBooleanProperty(systemPrefix + "showShortLogname",
showShortName);
showDateTime = getBooleanProperty(systemPrefix + "showdatetime",
showDateTime);
if (showDateTime) {
- SimpleDateFormat simpleDateFormatter = getSimpleDateFormat();
+ final SimpleDateFormat simpleDateFormatter = getSimpleDateFormat();
dateFormatter = simpleDateFormatter;
dateTimeFormat = simpleDateFormatter.toPattern();
}