Skip to content

Commit cc6f787

Browse files
committed
Lint
1 parent 6725c20 commit cc6f787

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/#apmg#cl_http_login_manager.clas.abap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ CLASS /apmg/cl_http_login_manager IMPLEMENTATION.
9696

9797
" If it's a URL, use host:port, otherwise just take the input
9898
TRY.
99-
DATA(url) = /apmg/cl_url=>parse( host ).
99+
DATA(url) = /apmg/cl_url=>parse( host )->components.
100100

101-
result = url->components-host.
102-
IF url->components-port IS NOT INITIAL.
103-
result = |{ result }:{ url->components-port }|.
101+
result = url-host.
102+
IF url-port IS NOT INITIAL.
103+
result = |{ result }:{ url-port }|.
104104
ENDIF.
105105
CATCH /apmg/cx_error.
106106
result = host.

0 commit comments

Comments
 (0)