diff options
author | sourabh_sourabh <sourabh.sourabh@est.tech> | 2024-10-23 15:12:41 +0100 |
---|---|---|
committer | Sourabh Sourabh <sourabh.sourabh@est.tech> | 2024-10-24 10:27:41 +0000 |
commit | e0c537f4463b6664e108e12962e1f4b34544776c (patch) | |
tree | 30477a8d6b505ee1731d8657e8a76650ff1d285c /releases | |
parent | d612628bae7c468ef69dc04a1fed89d3ba4b8f34 (diff) |
Refactor: Improve code quality and compliance with SonarQube standards
- Consolidated multiple `if` statements to enhance readability and maintainability.
- Replaced traditional `instanceof` checks followed by casting with the new pattern matching syntax for improved type safety and clarity.
- Removed unnecessary casts and streamlined code in `addYangLeafList` and `addDataNodeFromNormalizedNode` methods.
Issue-ID: CPS-1957
Change-Id: I46696dc184b6b3c3d0fe3a6bd12267a4e0d76193
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Diffstat (limited to 'releases')
0 files changed, 0 insertions, 0 deletions