Clean up PostDataTransactionUtil 86/89886/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 11:03:08 +0000 (11:03 +0000)
commit8793aeb9d3c6dc69c7dce6e40c71735ee02e8bf4
tree94d4490c61a5484dc066ded83866d3c881039fb1
parentf111bb3a8ade10fbfae40c16f33177d8ce6179d0
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