"!=" != "=="
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4297 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
2eb5d9b2d2
commit
bf69b5fa21
|
|
@ -170,7 +170,7 @@ trait CommandLineFunction extends QFunction with Logging {
|
|||
newFileExtension
|
||||
}
|
||||
case file: File => {
|
||||
if (file.getClass == classOf[File])
|
||||
if (file.getClass != classOf[File])
|
||||
throw new QException("Extensions of file must also extend with FileExtension so that the path can be modified.");
|
||||
val newFile = IOUtils.resetParent(tempDir, file)
|
||||
setFieldValue(field, newFile)
|
||||
|
|
|
|||
Loading…
Reference in New Issue