davidak09 commented on a change in pull request #12050:
URL: https://github.com/apache/beam/pull/12050#discussion_r473652666



##########
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:
       Is it even possible? For example according to 
https://stackoverflow.com/questions/9847288/is-it-possible-to-use-in-a-filename 
it's not. Or do you mean something different?




----------------------------------------------------------------
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]


Reply via email to