From 77539712a54e9f63fbb3ac10516b52146c4c977d Mon Sep 17 00:00:00 2001 From: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com> Date: Tue, 7 Apr 2026 20:26:42 -0300 Subject: [PATCH] refactor: fix parameter formatting in samples 002 and 009 Split last parameter from chain continuation onto its own line for multi-parameter calls in view_display and popup_value_employee methods, following the 'closing ) on its own line' rule from CLAUDE.md. --- src/z2ui5_cl_demo_app_002.clas.abap | 3 ++- src/z2ui5_cl_demo_app_009.clas.abap | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/z2ui5_cl_demo_app_002.clas.abap b/src/z2ui5_cl_demo_app_002.clas.abap index ba2b8fca..bbdb0ef2 100644 --- a/src/z2ui5_cl_demo_app_002.clas.abap +++ b/src/z2ui5_cl_demo_app_002.clas.abap @@ -123,7 +123,8 @@ CLASS z2ui5_cl_demo_app_002 IMPLEMENTATION. value = client->_bind_edit( s_screen-colour ) placeholder = `Fill in your favorite color` suggestionitems = client->_bind( t_suggestions ) - showsuggestion = abap_true )->get( + showsuggestion = abap_true + )->get( )->suggestion_items( )->get( )->list_item( text = `{VALUE}` diff --git a/src/z2ui5_cl_demo_app_009.clas.abap b/src/z2ui5_cl_demo_app_009.clas.abap index e97f6a2f..ef5959ca 100644 --- a/src/z2ui5_cl_demo_app_009.clas.abap +++ b/src/z2ui5_cl_demo_app_009.clas.abap @@ -173,7 +173,8 @@ CLASS z2ui5_cl_demo_app_009 IMPLEMENTATION. value = client->_bind_edit( s_screen-color_01 ) placeholder = `fill in your favorite colour` suggestionitems = client->_bind( t_suggestion ) - showsuggestion = abap_true )->get( + showsuggestion = abap_true + )->get( )->suggestion_items( )->get( )->list_item( text = `{VALUE}` @@ -264,7 +265,8 @@ CLASS z2ui5_cl_demo_app_009 IMPLEMENTATION. )->input( value = client->_bind_edit( s_screen-city ) suggestionitems = client->_bind( t_cities ) - showsuggestion = abap_true )->get( + showsuggestion = abap_true + )->get( )->suggestion_items( )->get( )->list_item( text = `{VALUE}`