Skip to content

Commit

Permalink
open isImage() method to package children for reuse-enabling custom d…
Browse files Browse the repository at this point in the history
…atasets (#2662)
  • Loading branch information
juliangamble authored Jun 18, 2023
1 parent 8f841e6 commit f936f40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ protected void listImages(Path root, List<String> classes) {

protected abstract Path getImagePath(String key);

private boolean isImage(File file) {
protected boolean isImage(File file) {
String path = file.getName();
if (!file.isFile() || file.isHidden() || path.startsWith(".")) {
return false;
Expand Down

0 comments on commit f936f40

Please sign in to comment.