Skip to content

Commit de8c198

Browse files
Update dd-java-agent/agent-iast/src/main/java/com/datadog/iast/securitycontrol/SecurityControlMethodClassVisitor.java
Co-authored-by: Manuel Álvarez Álvarez <[email protected]>
1 parent 3eff5ce commit de8c198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dd-java-agent/agent-iast/src/main/java/com/datadog/iast/securitycontrol/SecurityControlMethodClassVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ private MethodVisitor adaptSanitizer(
8787
if (isPrimitive(method.getReturnType())) {
8888
// no need to check primitives as we are not tainting them
8989
LOGGER.warn(
90-
"Sanitizers should not be used on non-primitive return types. Return type {}. Security control: {}",
90+
"Sanitizers should not be used on primitive return types. Return type {}. Security control: {}",
9191
method.getReturnType().getClassName(),
9292
control);
9393
return mv;

0 commit comments

Comments
 (0)