Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
larshp committed Aug 18, 2023
1 parent 1c9139e commit 2a6a9b1
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/generator/zcl_protobuf_generator.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,30 @@ CLASS zcl_protobuf_generator DEFINITION PUBLIC.
VALUE(rv_abap) TYPE string.
PROTECTED SECTION.
PRIVATE SECTION.
METHODS message
IMPORTING
io_message TYPE REF TO zcl_protobuf2_message.

Check failure on line 12 in src/generator/zcl_protobuf_generator.clas.abap

View check run for this annotation

abaplint / abaplint

Variable "io_message" not used

https://rules.abaplint.org/unused_variables
ENDCLASS.



CLASS zcl_protobuf_generator IMPLEMENTATION.


METHOD generate.

LOOP AT io_file->mt_artefacts INTO DATA(lo_artefact).

Check failure on line 21 in src/generator/zcl_protobuf_generator.clas.abap

View check run for this annotation

abaplint / abaplint

Variable "lo_artefact" not used

https://rules.abaplint.org/unused_variables
rv_abap = 'sdfs'.
CASE TYPE OF lo_artefact.
WHEN TYPE zcl_protobuf2_message.
WRITE / 'todo'.
WHEN TYPE zcl_protobuf2_message INTO DATA(lo_message).
message( lo_message ).
WHEN OTHERS.
WRITE / 'todo'.
ENDCASE.
ENDLOOP.

ENDMETHOD.

METHOD message.

Check failure on line 33 in src/generator/zcl_protobuf_generator.clas.abap

View check run for this annotation

abaplint / abaplint

Empty METHOD

https://rules.abaplint.org/method_length
* todo
ENDMETHOD.
ENDCLASS.

0 comments on commit 2a6a9b1

Please sign in to comment.