if (Debug.debugging("properties")) {
if (DEBUG) {
    protected Properties getIncludeProperties(String markerList,                                               Properties props) {        Properties newProps = new Properties();        Properties tmpProps = new Properties();        Vector includes = PropUtils.parseSpacedMarkers(markerList);        int size = includes.size();        if (size > 0) {            if (Debug.debugging("propertiesdetail")) {                Debug.output("PropertyHandler: handling include files: " +                              includes);            }            for (int i = 0; i < size; i++) {                String includeName = (String) includes.elementAt(i);                String includeProperty = includeName + ".URL";                String include = props.getProperty(includeProperty);                if (include == null) {                    Debug.error("PropertyHandler.getIncludeProperties(): Failed to locate include file \"" + includeName + "\" with URL \"" + includeProperty + "\"\n  Skipping include file \"" + include + "\"");                    continue;                }                try {                    tmpProps.clear();                    // Open URL to read in properties                    URL tmpInclude = PropUtils.getResourceOrFileOrURL(null, include);                    if (tmpInclude == null) {                        continue;                    }                    InputStream is = tmpInclude.openStream();                    tmpProps.load(is);                    if (Debug.debugging("properties")) {                        Debug.output("PropertyHandler.getIncludeProperties(): located include properties file URL: " + include);                    }                    // Include properties noted in resources                    // properties - a little recursive action,                    // here.                    Properties includeProperties = getIncludeProperties(tmpProps.getProperty(includeProperty), tmpProps);                    merge(includeProperties, newProps,                           "include file properties", "within " + include);                                        merge(tmpProps, newProps,                          "include file properties", include);                } catch (MalformedURLException e) {                    Debug.error("PropertyHandler: malformed URL for include file: |" + include + "| for " + includeName);                } catch (IOException ioe) {                    Debug.error("PropertyHandler: IOException processing " + include + "| for " + includeName);                }            }        } else {            Debug.message("properties", "PropertyHandler.getIncludeProperties(): no include files found.");        }        return newProps;    }