split checkPartnerPort method in PortMapping 38/94038/1
authorguillaume.lambert <guillaume.lambert@orange.com>
Tue, 15 Dec 2020 14:54:04 +0000 (15:54 +0100)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Thu, 17 Dec 2020 12:27:08 +0000 (12:27 +0000)
commit815825237f5440d7a744f2de0258d00781dbef14
treea30fc9a9a5962fe3ee9869cd37440506b5978e3c
parent47fde8545500c326588e17e9be3fc83082f963f0
split checkPartnerPort method in PortMapping

this allows to reuse the intermediate checks in several other places
and to remove useless checks and to add protections.

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