Use constants for PortMapping log messages Step 1 14/97514/3
authorguillaume.lambert <guillaume.lambert@orange.com>
Thu, 16 Sep 2021 09:56:41 +0000 (11:56 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Thu, 23 Sep 2021 08:44:00 +0000 (10:44 +0200)
commitc681ddfefea321c992057ace710a80a58b699686
treeb705331ca25ba22eabbfea6dc83ce5af584c9f75
parentbb3d2a2445a0ebf985b3bbf2260c25c26f2fbf1b
Use constants for PortMapping log messages Step 1

Few PortMapping log messages were redundant and needed to be realigned.
Some others were triggering Sonar issues.
Since these messages are shared among all PortMappingVersion*** classes,
migrating them to constants in the PortMappingUtils class is preferable.

JIRA: TRNSPRTPCE-355 TRNSPRTPCE-356
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I944596cc57ae4a352309aeb590b440eadc48bf8c
common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMappingUtils.java
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