Use a shared type for Pattern 75/98875/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 7 Dec 2021 15:37:05 +0000 (16:37 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 7 Dec 2021 15:37:53 +0000 (16:37 +0100)
commitbd63710ebd35fbda6eff024bb3bbc60f037eee9f
treef0b5e1d482a535d4cb75a91695084efb206b60c8
parent2db704e27af6f96b6cc7a37f86bd0b2ad378384e
Use a shared type for Pattern

We are looking up the type here multiple times, which is not entirely
efficient. Add a constant to hold the type.

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