Do not allocate HashMap for non-augmentations 10/92810/7
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 30 Sep 2020 12:34:20 +0000 (14:34 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 30 Sep 2020 17:54:37 +0000 (19:54 +0200)
commitbaa84422d58ab5d2573a76fac6674bad1dbdd26c
tree67f0ba765f758062f670836e5d4d985bbcea1df2
parentb74c242b4eec43f2ec14a7f22019ca73f0077969
Do not allocate HashMap for non-augmentations

Push state allocation into the conditional for better encapsulation.

Change-Id: Icf60a259634d263d920b60f3ab55bf162cf709d8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-runtime-api/src/main/java/org/opendaylight/mdsal/binding/runtime/api/AbstractBindingRuntimeContext.java