Eliminate useless allocation 88/89288/2
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 25 Apr 2020 14:03:33 +0000 (16:03 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 27 Apr 2020 23:04:00 +0000 (23:04 +0000)
commitb9a112a387a95cba901686a003e86f503e3d5a15
tree0388b0d5bdd5f8b148fb8ace358609f30a924e9e
parent167e27ae46aed6af8b6ee0ace76407d2955b7e78
Eliminate useless allocation

For some reason we are going through an indirection instead of
getting the modules directly. Fix that.

Change-Id: Id49d5db3501dae6cb5368599f4f8c7855115a962
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 433817a40cd93b408afca7dea4e99ba701fbc8c9)
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/services/simple/impl/RestconfOperationsServiceImpl.java