} else { logger.debug(key + " = " + val); return val.trim();
    protected static String getRequired(Properties props, String key)             throws RepositoryException {        String val = props.getProperty(key);        if (val == null) {            throw new RepositoryException("Required property is not set: " + key);        } else {            logger.debug(key + " = " + val);            return val.trim();        }    }