PortMapping Refactoring step 3 91/98191/1
authorguillaume.lambert <guillaume.lambert@orange.com>
Fri, 1 Oct 2021 15:31:15 +0000 (17:31 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Thu, 28 Oct 2021 11:27:24 +0000 (13:27 +0200)
commit53fc33510798edf7afd55e9695c45dc09b91b993
tree9e0977f0a73bc84b0464415866ccb39656e678ff
parent7605f277ca12fb816f5fb8ad2792c9c7cc82bae6
PortMapping Refactoring step 3

This refactoring intends to optimize some parts of the code
and to fix sonar issues about cyclomatic complexity.
To this purpose, it introduces a few intermediate functions.

JIRA: TRNSPRTPCE-355 TRNSPRTPCE-356
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I5c1ce21ad982581920c3b57f52987ef433b91dc3
common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMappingVersion121.java
common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMappingVersion221.java
common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMappingVersion710.java