Use a switch expression to dispatch keys 62/104162/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 14 Feb 2023 09:15:40 +0000 (10:15 +0100)
committerRobert Varga <nite@hq.sk>
Tue, 14 Feb 2023 18:20:06 +0000 (18:20 +0000)
commitfa06b70897623ee5f6576c2d510cf69e4f9a0a27
treec2ed013806768bc00a2b686029182382199bb55f
parent16fa037eaeb46e8657fe321591eb364620a2f689
Use a switch expression to dispatch keys

This makes the code flow more obvious.

Change-Id: I112da7aa2d1950e45bad8bac3e87126c47300f86
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 0ca412d7387be08bc904fc5f2cc96c9f2001204f)
aaa-encrypt-service/api/src/main/java/org/opendaylight/aaa/encrypt/PKIUtil.java