Skip to content

Commit f2d977c

Browse files
committed
Fix settings check
1 parent c042f3b commit f2d977c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/#apmg#cl_settings.clas.abap

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,9 @@ CLASS /apmg/cl_settings IMPLEMENTATION.
200200
IF is_settings-registry IS NOT INITIAL.
201201
DATA(url) = /apmg/cl_url=>parse( is_settings-registry ).
202202

203-
IF url->components-path IS INITIAL.
204-
INSERT |Registry URL must include trailing slash: { is_settings-registry }| INTO TABLE result.
205-
ENDIF.
206-
IF url->components-path <> '/'.
207-
INSERT |Registry URL must not include any path: { is_settings-registry }| INTO TABLE result.
203+
IF url->components-path IS NOT INITIAL.
204+
INSERT |Registry URL must not include any trailing slash or path: { is_settings-registry }|
205+
INTO TABLE result.
208206
ENDIF.
209207
IF url->components-query IS NOT INITIAL.
210208
INSERT |Registry URL must not include any query: { is_settings-registry }| INTO TABLE result.

0 commit comments

Comments
 (0)