private Hash h = new Hash();
public String getCookieHeader(String domain, String path, boolean secure) {
StringBuffer ret = new StringBuffer("Cookie: ");
- Enumeration e = h.keys();
+ Enumeration e = h.enumerateKeys();
while (e.hasMoreElements()) {
Vec v = (Vec)h.get(e.nextElement());
Cookie cookie = null;