Merge pull request #1997 from thatsIch/b-1995-versionchecker-config

Fixes #1995: Allows creation of version checker config file after start up
This commit is contained in:
yueh 2015-12-11 22:38:54 +01:00
commit c14f688100

View file

@ -59,7 +59,7 @@ public final class VersionCheckerConfig
public VersionCheckerConfig( @Nonnull final File file ) public VersionCheckerConfig( @Nonnull final File file )
{ {
Preconditions.checkNotNull( file ); Preconditions.checkNotNull( file );
Preconditions.checkState( file.isFile() ); Preconditions.checkState( !file.isDirectory() );
this.config = new Configuration( file ); this.config = new Configuration( file );