Issue 3399: Use c or char instead of sychar (#3410)

* Create pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Update zcl_abapgit_git_transport.clas.abap

* Update pull.yml

* Update pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Delete pull.yml

* Update zcl_abapgit_git_transport.clas.abap

* Use char or c instead of sychar

* Replaced char with type of c

Co-authored-by: mariusraht1 <mariusraht+1@gmail.com>
This commit is contained in:
mariusraht2 2020-05-24 11:23:50 +02:00 committed by GitHub
parent 5c4c0b882e
commit 4421cdc209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 8 deletions

View File

@ -26,6 +26,9 @@ CLASS zcl_abapgit_oo_class DEFINITION
METHODS zif_abapgit_oo_object_fnc~deserialize_source METHODS zif_abapgit_oo_object_fnc~deserialize_source
REDEFINITION . REDEFINITION .
PROTECTED SECTION. PROTECTED SECTION.
TYPES: ty_char1 TYPE c LENGTH 1,
ty_char2 TYPE c LENGTH 2.
PRIVATE SECTION. PRIVATE SECTION.
CLASS-METHODS update_source_index CLASS-METHODS update_source_index
@ -77,8 +80,8 @@ CLASS zcl_abapgit_oo_class DEFINITION
IMPORTING IMPORTING
!iv_program TYPE programm !iv_program TYPE programm
!it_source TYPE string_table !it_source TYPE string_table
!iv_extension TYPE sychar02 !iv_extension TYPE ty_char2
!iv_program_type TYPE sychar01 !iv_program_type TYPE ty_char1
!iv_version TYPE r3state . !iv_version TYPE r3state .
CLASS-METHODS update_cs_number_of_methods CLASS-METHODS update_cs_number_of_methods
IMPORTING IMPORTING
@ -88,7 +91,7 @@ ENDCLASS.
CLASS ZCL_ABAPGIT_OO_CLASS IMPLEMENTATION. CLASS zcl_abapgit_oo_class IMPLEMENTATION.
METHOD create_report. METHOD create_report.
@ -236,8 +239,8 @@ CLASS ZCL_ABAPGIT_OO_CLASS IMPLEMENTATION.
METHOD update_full_class_include. METHOD update_full_class_include.
CONSTANTS: lc_class_source_extension TYPE sychar02 VALUE 'CS', CONSTANTS: lc_class_source_extension TYPE c LENGTH 2 VALUE 'CS',
lc_include_program_type TYPE sychar01 VALUE 'I', lc_include_program_type TYPE c LENGTH 1 VALUE 'I',
lc_active_version TYPE r3state VALUE 'A'. lc_active_version TYPE r3state VALUE 'A'.

View File

@ -41,7 +41,7 @@ CLASS zcl_abapgit_code_inspector DEFINITION
DATA mv_success TYPE abap_bool . DATA mv_success TYPE abap_bool .
TYPES: t_run_mode TYPE sychar01. TYPES: t_run_mode TYPE c LENGTH 1.
CONSTANTS: CONSTANTS:
BEGIN OF co_run_mode, BEGIN OF co_run_mode,
run_with_popup TYPE t_run_mode VALUE 'P', run_with_popup TYPE t_run_mode VALUE 'P',
@ -53,7 +53,7 @@ CLASS zcl_abapgit_code_inspector DEFINITION
END OF co_run_mode . END OF co_run_mode .
DATA mo_inspection TYPE REF TO cl_ci_inspection . DATA mo_inspection TYPE REF TO cl_ci_inspection .
DATA mv_name TYPE sci_objs . DATA mv_name TYPE sci_objs .
DATA mv_run_mode TYPE sychar01 . DATA mv_run_mode TYPE c LENGTH 1 .
METHODS create_objectset METHODS create_objectset

View File

@ -22,6 +22,7 @@ CLASS zcl_abapgit_serialize DEFINITION
zcx_abapgit_exception . zcx_abapgit_exception .
PROTECTED SECTION. PROTECTED SECTION.
TYPES: ty_char32 TYPE c LENGTH 32.
CLASS-DATA gv_max_threads TYPE i . CLASS-DATA gv_max_threads TYPE i .
DATA mt_files TYPE zif_abapgit_definitions=>ty_files_item_tt . DATA mt_files TYPE zif_abapgit_definitions=>ty_files_item_tt .
@ -38,7 +39,7 @@ CLASS zcl_abapgit_serialize DEFINITION
IMPORTING IMPORTING
!is_tadir TYPE zif_abapgit_definitions=>ty_tadir !is_tadir TYPE zif_abapgit_definitions=>ty_tadir
!iv_language TYPE langu !iv_language TYPE langu
!iv_task TYPE sychar32 !iv_task TYPE ty_char32
RAISING RAISING
zcx_abapgit_exception . zcx_abapgit_exception .
METHODS run_sequential METHODS run_sequential