Skip to content

Commit

Permalink
Restored accept filter
Browse files Browse the repository at this point in the history
  • Loading branch information
mendhak committed Jun 22, 2013
1 parent 777557e commit 50bc438
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,11 @@ private String GetFileIdFromFileName(String authToken, String fileName)


@Override
public boolean accept(File dir, String filename)
public boolean accept(File dir, String name)
{
return false; //To change body of implemented methods use File | Settings | File Templates.
return name.toLowerCase().endsWith(".zip")
|| name.toLowerCase().endsWith(".gpx")
|| name.toLowerCase().endsWith(".kml");
}

@Override
Expand Down

0 comments on commit 50bc438

Please sign in to comment.