Skip to content

Commit

Permalink
fixup! [BEAM-59] LocalResources: helper utility to create LocalResour…
Browse files Browse the repository at this point in the history
…ceId
  • Loading branch information
dhalperi committed Apr 27, 2017
1 parent 8fca84b commit fd11e39
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -31,7 +31,7 @@
public final class LocalResources {

public static ResourceId fromFile(File file, boolean isDirectory) {
return LocalResourceId.fromPath(Paths.get(file.getPath()), isDirectory);
return LocalResourceId.fromPath(file.toPath(), isDirectory);
}

public static ResourceId fromPath(Path path, boolean isDirectory) {
Expand Down

0 comments on commit fd11e39

Please sign in to comment.