Small refactor of NetconfRestconfStrategy class 34/110734/1
authorIvan Hrasko <ivan.hrasko@pantheon.tech>
Thu, 14 Mar 2024 13:28:56 +0000 (14:28 +0100)
committerIvan Hrasko <ivan.hrasko@pantheon.tech>
Thu, 14 Mar 2024 13:33:34 +0000 (14:33 +0100)
commitdaf650df852922e5bba84eff02e043a53804a3f9
treeac1dcd3c6f9b886bc2f43ce63d5242389592d7fc
parent8d9520165054769ecf91c4ab9cd2afde5969fd58
Small refactor of NetconfRestconfStrategy class

Make small refactoring changes in NetconfRestconfStrategy class:
- NetconfFieldsTranslator.translate return type is NonNull thus 'tmp'
cannot be null, remove null check
- fix javadoc parameters and typos
- use diamond operator where possible

Change-Id: I6efc489d8e5a8352d0c2867ea4937d1df7829876
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/transactions/NetconfRestconfStrategy.java