Skip to content

Commit c4e4ea8

Browse files
francisco-milanoblomov-dev
andauthoredJan 13, 2025··
Resolve ADT warnings Demo 093, 100, 121 and 191 (#477)
Co-authored-by: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
1 parent 82a2f5a commit c4e4ea8

4 files changed

+12
-11
lines changed
 

‎src/z2ui5_cl_demo_app_093.clas.abap

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ CLASS Z2UI5_CL_DEMO_APP_093 IMPLEMENTATION.
2828
DATA(view) = z2ui5_cl_xml_view=>factory( ).
2929

3030
view->_generic( ns = `html`
31-
name = `script`)->_cc_plain_xml( `sap.z2ui5.myFunction();`).
31+
name = `script`)->_cc_plain_xml( `sap.z2ui5.myFunction();` ).
3232

3333
client->view_display( view->shell(
3434
)->page(

‎src/z2ui5_cl_demo_app_100.clas.abap

+4-4
Original file line numberDiff line numberDiff line change
@@ -142,16 +142,16 @@ CLASS Z2UI5_CL_DEMO_APP_100 IMPLEMENTATION.
142142
filterproperty = 'CREATE_DATE' )->text( text = `Date` )->ui_template( )->text( text = `{CREATE_DATE}` ).
143143
lo_columns->ui_column( width = '11rem'
144144
sortproperty = 'CREATE_BY'
145-
filterproperty = 'CREATE_BY')->text( text = `Name` )->ui_template( )->text( text = `{CREATE_BY}` ).
145+
filterproperty = 'CREATE_BY' )->text( text = `Name` )->ui_template( )->text( text = `{CREATE_BY}` ).
146146
lo_columns->ui_column( width = '11rem'
147147
sortproperty = 'STORAGE_LOCATION'
148-
filterproperty = 'STORAGE_LOCATION' )->text( text = `Location` )->ui_template( )->text( text = `{STORAGE_LOCATION}`).
148+
filterproperty = 'STORAGE_LOCATION' )->text( text = `Location` )->ui_template( )->text( text = `{STORAGE_LOCATION}` ).
149149
lo_columns->ui_column( width = '11rem'
150150
sortproperty = 'QUANTITY'
151-
filterproperty = 'QUANTITY' )->text( text = `Quantity` )->ui_template( )->text( text = `{QUANTITY}`).
151+
filterproperty = 'QUANTITY' )->text( text = `Quantity` )->ui_template( )->text( text = `{QUANTITY}` ).
152152
lo_columns->ui_column( width = '6rem'
153153
sortproperty = 'MEINS'
154-
filterproperty = 'MEINS' )->text( text = `Unit` )->ui_template( )->text( text = `{MEINS}`).
154+
filterproperty = 'MEINS' )->text( text = `Unit` )->ui_template( )->text( text = `{MEINS}` ).
155155
lo_columns->ui_column( width = '11rem'
156156
sortproperty = 'PRICE'
157157
filterproperty = 'PRICE' )->text( text = `Price` )->ui_template( )->currency( value = `{PRICE}`

‎src/z2ui5_cl_demo_app_121.clas.abap

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ ENDCLASS.
2020

2121

2222

23-
CLASS z2ui5_cl_demo_app_121 IMPLEMENTATION.
23+
CLASS Z2UI5_CL_DEMO_APP_121 IMPLEMENTATION.
24+
2425

2526
METHOD z2ui5_if_app~main.
2627

@@ -42,7 +43,7 @@ CLASS z2ui5_cl_demo_app_121 IMPLEMENTATION.
4243
CASE client->get( )-event.
4344

4445
WHEN 'TIMER_FINISHED'.
45-
client->message_box_display( `Timer finished!`).
46+
client->message_box_display( `Timer finished!` ).
4647
RETURN.
4748

4849
WHEN 'BACK'.

‎src/z2ui5_cl_demo_app_191.clas.abap

+4-4
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ CLASS Z2UI5_CL_DEMO_APP_191 IMPLEMENTATION.
6262

6363
METHOD on_init.
6464

65-
mt_t002 = VALUE #( ( id = '1' class = 'Z2UI5_CL_DEMO_APP_190' count = '10' table = 'Z2UI5_T001')
66-
( id = '2' class = 'Z2UI5_CL_DEMO_APP_190' count = '20' table = 'Z2UI5_T002')
67-
( id = '3' class = 'Z2UI5_CL_DEMO_APP_190' count = '30' table = 'Z2UI5_TOOL_T_001')
68-
( id = '4' class = 'Z2UI5_CL_DEMO_APP_190' count = '40' table = 'Z2UI5_TOOL_T_002') ).
65+
mt_t002 = VALUE #( ( id = '1' class = 'Z2UI5_CL_DEMO_APP_190' count = '10' table = 'Z2UI5_T001' )
66+
( id = '2' class = 'Z2UI5_CL_DEMO_APP_190' count = '20' table = 'Z2UI5_T002' )
67+
( id = '3' class = 'Z2UI5_CL_DEMO_APP_190' count = '30' table = 'Z2UI5_TOOL_T_001' )
68+
( id = '4' class = 'Z2UI5_CL_DEMO_APP_190' count = '40' table = 'Z2UI5_TOOL_T_002' ) ).
6969

7070
mv_selectedkey = '1'.
7171

0 commit comments

Comments
 (0)
Please sign in to comment.