Minor refactor 66/269066/3
authorJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 6 Jan 2022 05:35:06 +0000 (14:35 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 10 Jan 2022 09:45:48 +0000 (09:45 +0000)
commit0f3cde61619dce1f21754157e535320156f112a9
treefb4d8d49a2cc2d3b42447d7207418719b63b2529
parent950420f90c4a2b519c3c2eb00845825ad34f7fa9
Minor refactor

- Remove unnecessary parameter and local variable which is no longer used.
- Extract duplicate codes info function.
- Change variable name for readability.
- Adjust code order for readability.

Change-Id: I98050d35f0fd9a256895e698918fc34f8840fad1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/server/database/db_handle_provider.cc
src/server/database/db_handle_provider.hh
src/server/request_handler/get_appinfo_request_handler.cc
src/server/request_handler/get_appinfo_request_handler.hh
src/server/request_handler/get_pkginfo_request_handler.cc
src/server/request_handler/get_pkginfo_request_handler.hh
src/server/worker_thread.cc
src/server/worker_thread.hh