Skip to content

Commit

Permalink
Using fully qualified classname for java.io.File to avoid the error '…
Browse files Browse the repository at this point in the history
…The type new FilenameFilter(){} must implement the inherited abstract method FilenameFilter.accept(File, String)' in Processing 2b7
  • Loading branch information
bertbalcaen committed Dec 8, 2012
1 parent 15c0a80 commit 1ac412f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IsochronicMap/IsochronicMap.pde
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ void loadTimeTable() {
//load files
java.io.File folder = new java.io.File(dataPath(TIMETABLES_PATH));
java.io.FilenameFilter csvFilter = new java.io.FilenameFilter() {
public boolean accept(File dir, String name) {
public boolean accept(java.io.File dir, String name) {
return name.toLowerCase().endsWith(".csv");
}
};
Expand Down

0 comments on commit 1ac412f

Please sign in to comment.