Fixing a binary to logical or

This commit is contained in:
Mark DePristo 2011-10-17 15:29:45 -04:00
parent ec911ce5bb
commit c1329c4dde
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ class RodBindingArgumentTypeDescriptor extends ArgumentTypeDescriptor {
if ( tribbleType == null )
if ( ! file.exists() ) {
throw new UserException.CouldNotReadInputFile(file, "file does not exist");
} else if ( ! file.canRead() | ! file.isFile() ) {
} else if ( ! file.canRead() || ! file.isFile() ) {
throw new UserException.CouldNotReadInputFile(file, "file could not be read");
} else {
throw new UserException.CommandLineException(