mirror of
https://github.com/apache/struts.git
synced 2026-08-06 23:27:07 +00:00
WW-4126 - changed logic of is statement so that every element in the Object array is compared to null
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1504168 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -382,7 +382,7 @@ public class ELSupport {
|
||||
*/
|
||||
public final static boolean containsNulls(final Object[] obj) {
|
||||
for (int i = 0; i < obj.length; i++) {
|
||||
if (obj[0] == null) {
|
||||
if (obj[i] == null) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user