Nesting if-statements usually leads to worse maintainability and understandability of a code. This commit refactors code in such a way that nested if-statements are removed.
Signed-off-by: Dominik Rumian drumian@redhat.com
rebased onto 6befc06513cb6dace0ef46aae8cc1c5db445c7eb
I fixed a few issues in the code and now I can merge it.
Commit aefba26d fixes this pull-request
Pull-Request has been merged by onosek
Nesting if-statements usually leads to worse maintainability and
understandability of a code. This commit refactors code in such
a way that nested if-statements are removed.
Signed-off-by: Dominik Rumian drumian@redhat.com