diff --git a/core/src/main/java/lucee/runtime/net/http/HttpUtil.java b/core/src/main/java/lucee/runtime/net/http/HttpUtil.java index 4e5bf6bb14..f2eb782c6f 100644 --- a/core/src/main/java/lucee/runtime/net/http/HttpUtil.java +++ b/core/src/main/java/lucee/runtime/net/http/HttpUtil.java @@ -49,11 +49,11 @@ public static Pair[] cloneHeaders(HttpServletRequest req) { name = e.nextElement(); ee = req.getHeaders(name); while (ee.hasMoreElements()) { - val = (String) ee.nextElement(); + val = ee.nextElement(); if (val != null) headers.add(new Pair(name, val)); } } - return (Pair[]) headers.toArray(new Pair[headers.size()]); + return headers.toArray(new Pair[headers.size()]); } public static Struct getAttributesAsStruct(HttpServletRequest req) { diff --git a/loader/build.xml b/loader/build.xml index 16a7ed6088..e788e26d38 100644 --- a/loader/build.xml +++ b/loader/build.xml @@ -2,7 +2,7 @@ - + diff --git a/loader/pom.xml b/loader/pom.xml index c7925e1fc0..77e6630f7d 100644 --- a/loader/pom.xml +++ b/loader/pom.xml @@ -3,7 +3,7 @@ org.lucee lucee - 6.0.0.527-SNAPSHOT + 6.0.0.528-SNAPSHOT jar Lucee Loader Build