Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 868 Bytes

comment-type.md

File metadata and controls

41 lines (28 loc) · 868 Bytes

code pal for ABAP

code pal for ABAP > Documentation > Comment Type

Comment Type

What is the Intent of the Check?

Comments with ", not with *, because asterisked comments tend to indent to weird places.

How to solve the issue?

Replacing the comment type from * to ".

Example

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.

Further Readings & Knowledge