mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
WW-4436 Fixes NPE and uses String.valueOf() instead of .toString()
This commit is contained in:
+1
-1
@@ -362,7 +362,7 @@ public class ParametersInterceptor extends MethodFilterInterceptor {
|
||||
}
|
||||
boolean result = true;
|
||||
for (Object obj : values) {
|
||||
if (isExcluded(obj.toString())) {
|
||||
if (isExcluded(String.valueOf(obj))) {
|
||||
result = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user