Project

General

Profile

« Previous | Next » 

Revision 4adf618f

Added by Andreas Kohlbecker almost 4 years ago

ref #8189 fixing invalid NULL check

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationUtils.java
53 53
                    fileResourceDir = file.getParentFile();
54 54
                }else{
55 55
                    File homeDir = ConfigFileUtil.getCdmHomeDir();
56
                    if (homeDir.getPath().equals("null")){
56
                    if (homeDir == null){
57 57
                        //no application context available
58 58
                        homeDir = ConfigFileUtil.getCdmHomeDirFallback();
59 59
                    }

Also available in: Unified diff