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 47ea233 Fix `Files.isRegularFile()` call for BSH
47ea233 is described below
commit 47ea23354bbdf1b71f27a9b349043c34e231abba
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Mon Sep 4 11:04:13 2023 +0200
Fix `Files.isRegularFile()` call for BSH
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 4bb90aa..1eaab55 100644
--- a/pom.xml
+++ b/pom.xml
@@ -636,11 +636,11 @@
// Find attachments that will go into the distribution
SortedMap attachmentPathByFile = new TreeMap();
- Stream paths = Files.walk(new
File(repoDirectoryParent).toPath(), 8, new FileVisitOption[0]);
+ Stream paths = Files.walk(new
File(repoDirectoryParent).toPath(), 8, /* required for BSH method resolution:
*/ new FileVisitOption[0]);
try {
paths.forEach(new Consumer() {
public void accept(Path path) {
- if (Files.isRegularFile(path) &&
+ if (Files.isRegularFile(path, /* required for BSH
method resolution: */ new LinkOption[0]) &&
path.toAbsolutePath().toString().matches("${attachmentFilepathPattern}")) {
attachmentPathByFile.put(path.toFileName().toString(), path);
}