if ((appHome != null) && !"".equals(appHome.trim())) {
if (appHome.trim().length() != 0) {
    public File getAppsHome() {        String appHome = sysProps.getProperty("appHome");        if ((appHome != null) && !"".equals(appHome.trim())) {            return new File(appHome);        } else {            return new File(hopHome, "apps");        }    }