Skip to content

Commit

Permalink
Merge pull request #11436 from MishaDemianenko/3.4-windows-drive-paths
Browse files Browse the repository at this point in the history
Add file separators after each name part to construct correct Windows file names
  • Loading branch information
MishaDemianenko committed Apr 3, 2018
2 parents e947ed2 + 391dabf commit 7b87fd9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,8 @@ private File constructPath( List<String> pathItems, List<String> base )
}
for ( String pathItem : pathItems )
{
file = file == null ? new File( pathItem ) : new File( file, pathItem );
String pathItemName = pathItem + File.separator;
file = file == null ? new File( pathItemName ) : new File( file, pathItemName );
}
return file;
}
Expand Down

0 comments on commit 7b87fd9

Please sign in to comment.