Align and improve Portmapping versions Step 1 08/93808/6
authorguillaume.lambert <guillaume.lambert@orange.com>
Thu, 12 Nov 2020 10:20:03 +0000 (11:20 +0100)
committerguillaume.lambert <guillaume.lambert@orange.com>
Tue, 24 Nov 2020 14:17:36 +0000 (15:17 +0100)
commite4254e34b1acd2c1e5218f09828a4654601407ae
tree23f82ed28b7f2c77221c479afa6ae9f8cc9027cd
parent36238ab5a0c451835fe613f01f53608151345c89
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