Align and improve Portmapping versions Step 1 61/94061/1
authorguillaume.lambert <guillaume.lambert@orange.com>
Thu, 12 Nov 2020 10:20:03 +0000 (11:20 +0100)
committerGilles Thouenon <gilles.thouenon@orange.com>
Sat, 5 Dec 2020 07:54:58 +0000 (08:54 +0100)
commitdbb45f0703f754beaa0335a0eb5bc1cd17f6faa0
tree925714b464a1a7cb0888745a7fcc5ec8f8a6bff4
parent951c9976930489e4232a9c431e73573a5e17b4da
Align and improve Portmapping versions Step 1

- add FIXME comments to warn about code duplications at the beginning
  of the classes
- minor improvements and alignment over the 3 classes
- remove a useless argument from createNodeInfo versions 2.2.1 and 7.1.0
- point with a TODO comment in the version 1.2.1 createNodeInfo method
  the difference of protection there with the 2 other versions

JIRA: TRNSPRTPCE-353
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I72ff9f05ca51caecb8ec41b6d2f666c6bf50ccbd
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