Refactor PCE network analyzer PceOtnNode step 3 25/99625/2
authorguillaume.lambert <guillaume.lambert@orange.com>
Mon, 7 Feb 2022 12:01:30 +0000 (13:01 +0100)
committerChristophe Betoule <christophe.betoule@orange.com>
Thu, 17 Feb 2022 08:31:10 +0000 (09:31 +0100)
commitc6c7b5fca2580883621d366573e20eefb9ea06e1
tree0fccc6a2a04bfa3beb61acb83e42e39f8fd41ca3
parente2527942c42d6f547d2aa015a6909833682a95db
Refactor PCE network analyzer PceOtnNode step 3

- make class static Maps and Lists final
- rename some variables
- rationalize conditions check & dedicated methods
- use && precendence over || to remove some useless parenthesis
- add a few intermediate functions and variables
- add a few TODO comments on remaining redundant checks code

JIRA: TRNSPRTPCE-572
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I9fec81f36c4dd83b8000d337e84200498b960955
pce/src/main/java/org/opendaylight/transportpce/pce/networkanalyzer/PceOtnNode.java