split checkPartnerPort method in PortMapping 50/94250/2
authorguillaume.lambert <guillaume.lambert@orange.com>
Tue, 15 Dec 2020 14:54:04 +0000 (15:54 +0100)
committerguillaume.lambert <guillaume.lambert@orange.com>
Wed, 16 Dec 2020 16:00:28 +0000 (17:00 +0100)
commit0a65ef7de52296febed7af886b01cabfa51f1acf
tree542a5970844593285f3df07a2dfa06bdb4297165
parentd059ad223a3893dcf30f5d7279299606ab906407
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