Use constants for PortMapping log messages Step 3 40/97640/4
authorguillaume.lambert <guillaume.lambert@orange.com>
Sun, 26 Sep 2021 18:56:56 +0000 (20:56 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Mon, 27 Sep 2021 13:52:02 +0000 (15:52 +0200)
commit39d5ff2ab4aaba61ba43470a6427d84eb7ac89b6
tree64ee50ecd708c478ccf7995d6a8bc822fc3af9fa
parente8bca6a0b00c9a8b186621244f16a12d9023128d
Use constants for PortMapping log messages Step 3

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