You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/09/04 09:14:15 UTC

[logging-parent] branch release/1.10.0 updated: Fix BSH

This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch release/1.10.0
in repository https://gitbox.apache.org/repos/asf/logging-parent.git


The following commit(s) were added to refs/heads/release/1.10.0 by this push:
     new 453d59c  Fix BSH
453d59c is described below

commit 453d59c338703f0d04d8c8ffafd62200d13a4e3a
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Mon Sep 4 11:14:27 2023 +0200

    Fix BSH
---
 pom.xml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 1eaab55..b6fbe42 100644
--- a/pom.xml
+++ b/pom.xml
@@ -658,8 +658,11 @@
                 if (${minAttachmentCount} >= attachmentPathByFile.size()) {
                     System.err.println("Attachments:");
                     int[] i = {0};
-                    attachmentPathByFile.values().forEach(path ->
-                            System.err.format("  [%2d] %s%n", new Object[]{i[0]++, path}));
+                    attachmentPathByFile.values().forEach(new Consumer() {
+                        public void accept(Path path) {
+                            System.err.format("  [%2d] %s%n", new Object[]{++i[0], path});
+                        }
+                    });
                     System.err.format(
                             "Error: Was expecting at least %d attachments, found %d!%n",
                             ${minAttachmentCount}, attachmentPathByFile.size());