GeneratorReactor.linkOriginalGenerator() should be stateless 33/99433/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 25 Jan 2022 12:01:22 +0000 (13:01 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 25 Jan 2022 12:02:50 +0000 (13:02 +0100)
commitd8e53a57837f122540ac6642f76a7531bd30a9f4
tree0e623469a6e271f3cfdb7acb8ab17f3b117c6927
parentc711ab32891b1b83280af3e266df45d2cb60b100
GeneratorReactor.linkOriginalGenerator() should be stateless

linkOriginalGenerator() does not need to modify GeneratorReactor, make
it static, so that we can disconnect the state manipulation.

JIRA: MDSAL-718
Change-Id: I6ef2b81f4645522e2c6388bfcde48c36527e421a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-generator/src/main/java/org/opendaylight/mdsal/binding/generator/impl/reactor/AbstractExplicitGenerator.java
binding/mdsal-binding-generator/src/main/java/org/opendaylight/mdsal/binding/generator/impl/reactor/GeneratorReactor.java