"!=" != "=="

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4297 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
kshakir 2010-09-16 19:15:37 +00:00
parent 2eb5d9b2d2
commit bf69b5fa21
1 changed files with 1 additions and 1 deletions

View File

@ -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)