Skip to content

Commit

Permalink
code cleanup camel-tooling#91
Browse files Browse the repository at this point in the history
Signed-off-by: Lars Heinemann <[email protected]>
  • Loading branch information
lhein committed Oct 19, 2018
1 parent 8d433c1 commit 221e6e6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ public static File findPomInReferencedURI(String docUri) {
}

public static File getPomFromPath(File path) {
File[] files = path.listFiles( (File pathname) -> {
return pathname.getName().equalsIgnoreCase("pom.xml");
});
File[] files = path.listFiles( (File pathname) ->
"pom.xml".equalsIgnoreCase(pathname.getName())
);
if (files.length>0) {
return files[0];
}
Expand Down

0 comments on commit 221e6e6

Please sign in to comment.