code pal for ABAP > Documentation > Comment Type
This check searches for comments starting with an asterisk *
. These tend to not align well with the rest of the code, especially when the surrounding code changes indentation level, and should be replaced by comments starting with a quotation mark "
.
You should replace the *
by "
.
There are no pseudo comments for this check since you cannot put pseudo comments on the same line as an actual comment.
Before the check:
METHOD do_it.
IF input IS NOT INITIAL.
* delegate pattern
output = calculate_result( input ).
ENDIF.
ENDMETHOD.
After the check:
METHOD do_it.
IF input IS NOT INITIAL.
" delegate pattern
output = calculate_result( input ).
ENDIF.
ENDMETHOD.