Clean up PostDataTransactionUtil 12/89912/2
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 22 May 2020 09:23:28 +0000 (11:23 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 25 May 2020 09:12:58 +0000 (09:12 +0000)
commitb74237267b6db752416caecbae10b18ccdd4a829
tree0910917b58fb982f2372996124155e26b880beae
parent30231f1560b7e5f5ae7946886004bf7aee8d1198
Clean up PostDataTransactionUtil

These methods are horrible in their if/else use. Clean them up a bit
so as to make clearer what is going on.

Change-Id: I8b6a619c3c9af548af42985a79fdf7d9c99a9fa0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/utils/PostDataTransactionUtil.java