Implemented suggestions from Lars

Suggestions mentioned by Lars in PR have been implemented.
This commit is contained in:
Christian Pfisterer 2017-06-26 21:27:17 +02:00
parent 6e13d92a7a
commit 910dc686b4
2 changed files with 5 additions and 12 deletions

View File

@ -305,9 +305,8 @@ CLASS lcl_object_samc IMPLEMENTATION.
object_key = ms_item-obj_name.
objtype = ms_item-obj_type.
IF mo_persistence IS NOT BOUND.
get_persistence( ).
ENDIF.
get_persistence( ).
mo_persistence->lock(
EXPORTING
@ -348,9 +347,7 @@ CLASS lcl_object_samc IMPLEMENTATION.
object_key = ms_item-obj_name.
TRY.
IF mo_persistence IS NOT BOUND.
get_persistence( ).
ENDIF.
get_persistence( ).
mo_persistence->get(
EXPORTING

View File

@ -305,9 +305,7 @@ CLASS lcl_object_sapc IMPLEMENTATION.
object_key = ms_item-obj_name.
objtype = ms_item-obj_type.
IF mo_persistence IS NOT BOUND.
get_persistence( ).
ENDIF.
get_persistence( ).
mo_persistence->lock(
EXPORTING
@ -348,9 +346,7 @@ CLASS lcl_object_sapc IMPLEMENTATION.
object_key = ms_item-obj_name.
TRY.
IF mo_persistence IS NOT BOUND.
get_persistence( ).
ENDIF.
get_persistence( ).
mo_persistence->get(
EXPORTING