pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/apache/axis-axis2-java-core/commit/23b5951194695ec6efcd27e2d464d08e9785c215

Bugfix: check if filename endsWith, instead of Path.endsWith. · apache/axis-axis2-java-core@23b5951 · GitHub
Skip to content

Commit 23b5951

Browse files
author
stevendh
committed
Bugfix: check if filename endsWith, instead of Path.endsWith.
1 parent eceb6e0 commit 23b5951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/xmlbeans-codegen/src/main/java/org/apache/axis2/xmlbeans/CodeGenerationUtility.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ private static File[] getBindingConfigJavaFiles(String javaFileNames) {
684684
try (Stream<Path> pathStream = Files.walk(new File(javaFileName).toPath(),
685685
FileVisitOption.FOLLOW_LINKS)) {
686686
pathStream
687-
.filter(p -> (Files.isRegularFile(p) && p.getFileName().endsWith(".java")))
687+
.filter(p -> (Files.isRegularFile(p) && p.toString().endsWith(".java")))
688688
.forEach(p -> files.add(p.toFile()));
689689
} catch (IOException ioe) {
690690
log.info("Could not read javaFile: " + javaFileName);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy