Use constants for PortMapping log messages Step 2 97/97597/10
authorguillaume.lambert <guillaume.lambert@orange.com>
Wed, 22 Sep 2021 12:56:01 +0000 (14:56 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Sat, 25 Sep 2021 13:15:10 +0000 (15:15 +0200)
commite8bca6a0b00c9a8b186621244f16a12d9023128d
tree5b052279f6326526a141afa0950525c0c61d36c1
parentc681ddfefea321c992057ace710a80a58b699686
Use constants for PortMapping log messages Step 2

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: I2a0cb1788d1c078acdb448f995416f7e3ad79c3e
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