drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java
public Enumeration keys() {

        if (defaults == null)
            return new ContextKeyToStringEnum(properties.keys());

        Enumeration allKeys = new MergedEnumeration(new ContextKeyToStringEnum(properties.keys()), defaults.keys());

        Hashtable keysSet = new Hashtable();
        while (allKeys.hasMoreElements())
            keysSet.put(allKeys.nextElement(), "ignored"); //$NON-NLS-1$

        return keysSet.keys();
    }
public Enumeration keys() {

        if (defaults == null)
            return new ContextKeyToStringEnum(properties.keys());

        Enumeration allKeys = new MergedEnumeration(new ContextKeyToStringEnum(properties.keys()), defaults.keys());

        Hashtable keysSet = new Hashtable();
        while (allKeys.hasMoreElements())
            keysSet.put(allKeys.nextElement(), "ignored"); //$NON-NLS-1$

        return keysSet.keys();
    }
Return an enumeration over the context's keys. (recursively computes the
keys based on keys defaults as well)

@return an enumeration over the context keys