Skip to content

Commit

Permalink
Mask return type in safe string.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Apr 22, 2024
1 parent 85baec7 commit f9469fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ protected String toSafeString() {
stringBuilder.append(Modifier.toString(modifiers)).append(' ');
}
if (isMethod()) {
stringBuilder.append(getReturnType().asErasure().getActualName()).append(' ');
stringBuilder.append('?').append(' ');
stringBuilder.append(getDeclaringType().asErasure().getActualName()).append('.');
}
return stringBuilder.append(getName()).append("(?)").toString();
Expand Down

0 comments on commit f9469fc

Please sign in to comment.