Modernize Datastore 42/101342/1
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 29 May 2022 21:16:27 +0000 (23:16 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 29 May 2022 21:16:27 +0000 (23:16 +0200)
commitda84350cbdbba01ae66b8dfd79ece76120a79862
tree91721d8d2f60fb9695f0775161522b4ec6666da2
parentc72448dd1d494cc248939d86a41c926a8196eea6
Modernize Datastore

Seal the class to enforce the two classes we have. Also use a switch
expression for mapping.

Change-Id: I7e7b281b6963f4e37a3f78201aca577108d40c40
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-util/src/main/java/org/opendaylight/mdsal/binding/util/Datastore.java