Merged bug fix from Stable into Unstable
This commit is contained in:
commit
0de8550f17
|
|
@ -381,7 +381,7 @@ class RodBindingArgumentTypeDescriptor extends ArgumentTypeDescriptor {
|
||||||
if ( tribbleType == null )
|
if ( tribbleType == null )
|
||||||
if ( ! file.exists() ) {
|
if ( ! file.exists() ) {
|
||||||
throw new UserException.CouldNotReadInputFile(file, "file does not exist");
|
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");
|
throw new UserException.CouldNotReadInputFile(file, "file could not be read");
|
||||||
} else {
|
} else {
|
||||||
throw new UserException.CommandLineException(
|
throw new UserException.CommandLineException(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue