Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 159577 | Differences between
and this patch

Collapse All | Expand All

(-)commons-el-1.0-r1/work/commons-el-1.0-src/src/java/org/apache/commons/el/ImplicitObjects.java (-4 / +4 lines)
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 ()]);

Return to bug 159577