WW-4436 Fixes NPE and uses String.valueOf() instead of .toString()

This commit is contained in:
Lukasz Lenart
2014-12-23 21:54:01 +01:00
parent 29de8687dd
commit 2bea99e96b
@@ -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;
}
}