Clean up PostDataTransactionUtil 85/89885/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:15 +0000 (11:03 +0000)
commit8860134661c5e25aa291f7485d5dd2de08ed67a6
treea4177799eea5e5135ac509c1cc12738ba6332ec8
parent4ec32e34b6e1e2f5ec36e982fd8e2692ec6071b2
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