Refactor PCE calculation class 51/97051/2
authorguillaume.lambert <guillaume.lambert@orange.com>
Mon, 2 Aug 2021 08:58:51 +0000 (10:58 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Wed, 4 Aug 2021 12:45:51 +0000 (14:45 +0200)
commit94953ff3defe8e4040be395925d6d7747d00af24
treeeba7b99aa3f18e42c8ccdf13b266dd937924c951
parent7f29ca37c9697d3adda029f649fd84d094885354
Refactor PCE calculation class

Use switch/case structures for style coherency
and guard cause style to smooth indentation
and ternary operator to remove useless variable allocation.

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