You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2022/06/08 12:29:21 UTC
[sling-org-apache-sling-engine] branch master updated: Minor code cleanup
This is an automated email from the ASF dual-hosted git repository.
cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-engine.git
The following commit(s) were added to refs/heads/master by this push:
new 8580cf1 Minor code cleanup
8580cf1 is described below
commit 8580cf1d5862f2a3b2cbe01c929c4c43cb93d773
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Jun 8 14:29:16 2022 +0200
Minor code cleanup
---
src/main/java/org/apache/sling/engine/impl/log/CustomLogFormat.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/engine/impl/log/CustomLogFormat.java b/src/main/java/org/apache/sling/engine/impl/log/CustomLogFormat.java
index 3d93b8c..8d8cebd 100644
--- a/src/main/java/org/apache/sling/engine/impl/log/CustomLogFormat.java
+++ b/src/main/java/org/apache/sling/engine/impl/log/CustomLogFormat.java
@@ -341,7 +341,7 @@ class CustomLogFormat {
// don't care
}
if (num >= 100 && num <= 999) {
- numbers.add(new Integer(num));
+ numbers.add(num);
}
if (numbers.isEmpty()) {