mirror of
https://github.com/apache/struts.git
synced 2026-08-31 19:35:40 +00:00
changed Map iterations to use entrySet when both key and value are used
This commit is contained in:
@@ -101,8 +101,7 @@ public abstract class JSONCleaner {
|
||||
boolean allow = !isDefaultBlock();
|
||||
|
||||
if (includesExcludesMap != null) {
|
||||
for (String currRule : includesExcludesMap.keySet()) {
|
||||
Filter f = includesExcludesMap.get(currRule);
|
||||
for (Filter f : includesExcludesMap.values()) {
|
||||
if (f.pattern.matcher(ognl).matches()) {
|
||||
allow = f.allow;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user