Use ErrorSeverity.elementBody() in RestconfError 30/107230/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 3 Aug 2023 15:51:26 +0000 (17:51 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 3 Aug 2023 15:51:26 +0000 (17:51 +0200)
commit6151f0444151183903debc231039dbf3183cd560
tree209a83e9c689f01ba409aa5aa1675667b4529383
parente523bbd607bde2934e6e183dddc0e657dc3fa4e9
Use ErrorSeverity.elementBody() in RestconfError

ErrorSeverity provides the element body through a dedicated method, do
to use toLowerCase().

Change-Id: I5a036dc65de8b798f2dd0eb1121f27f00c4752c7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-common/src/main/java/org/opendaylight/restconf/common/errors/RestconfError.java