if(log.isDebugEnabled()) {
if(log.isErrorEnabled()) {
  public void saveProperties(File file) {    try {      properties.store(new FileOutputStream(file), "CSMART UI Properties");    } catch (Exception e) {      if(log.isDebugEnabled()) {        log.error("Could not save CSMART UI Properties in: " +                  file.getPath() + " " + e);      }    }  }