Skip to content

Commit

Permalink
Fix appclient parsing error due to trailing spaces in windows
Browse files Browse the repository at this point in the history
Signed-off-by: hs536 <sawamura.hiroki@fujitsu.com>
  • Loading branch information
hs536 committed May 30, 2022
1 parent b333e1c commit 9e16693
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public static List<Path> convertClassPathToPaths(final String classPath) {
final List<Path> result = new ArrayList<>();
try {
for (String classPathElement : classPath.split(File.pathSeparator)) {
result.add(new File(classPathElement).toPath());
result.add(new File(classPathElement.trim()).toPath());
}
return result;
} catch (Exception e) {
Expand Down

0 comments on commit 9e16693

Please sign in to comment.