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

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

commit 7254f505fb8547340fa8a641294602e9648cd8a8
Author: Volkan Yazıcı <[email protected]>
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 b6923ce..4e6d0b0 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());

Reply via email to