Lines 535-544
Link Here
|
535 |
if (pKey instanceof String) { |
535 |
if (pKey instanceof String) { |
536 |
// Drain the header enumeration |
536 |
// Drain the header enumeration |
537 |
List l = new ArrayList (); |
537 |
List l = new ArrayList (); |
538 |
Enumeration enum = request.getHeaders ((String) pKey); |
538 |
Enumeration _enum = request.getHeaders ((String) pKey); |
539 |
if (enum != null) { |
539 |
if (_enum != null) { |
540 |
while (enum.hasMoreElements ()) { |
540 |
while (_enum.hasMoreElements ()) { |
541 |
l.add (enum.nextElement ()); |
541 |
l.add (_enum.nextElement ()); |
542 |
} |
542 |
} |
543 |
} |
543 |
} |
544 |
String [] ret = (String []) l.toArray (new String [l.size ()]); |
544 |
String [] ret = (String []) l.toArray (new String [l.size ()]); |