Thanks for catching this one! I missed it while copying from the old methods.

Sent from my iPhone

> On 02 Apr 2014, at 22:16, Stephan Ewen <notifications@github.com> wrote:
> 
> In stratosphere-core/src/main/java/eu/stratosphere/configuration/GlobalConfiguration.java:
> 
> >  		return dir.listFiles(new FilenameFilter() {
> >  			@Override
> >  			public boolean accept(final File dir, final String name) {
> > -				return dir.equals(dir) && name != null && name.endsWith(suffix);
> > +				for (String suffix : suffixes) {
> > +					if (dir.equals(dir) && name != null && name.endsWith(suffix)) {
> This line seems weird. dir.equals(dir) is always true. I assume one dir is supposed to refer to the parameter of the closure, rather then the parameter in the function? I think you have to rename one of them to make them work properly.
> 
> —
> Reply to this email directly or view it on GitHub.