davidak09 commented on a change in pull request #12050:
URL: https://github.com/apache/beam/pull/12050#discussion_r473650689
##########
File path:
sdks/java/core/src/main/java/org/apache/beam/sdk/io/LocalFileSystem.java
##########
@@ -202,6 +202,10 @@ protected void delete(Collection<LocalResourceId>
resourceIds) throws IOExceptio
@Override
protected LocalResourceId matchNewResource(String singleResourceSpec,
boolean isDirectory) {
+ if (singleResourceSpec.endsWith(File.separator) && !isDirectory) {
Review comment:
sounds good, I added it
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]