Sonar Warning Fix: complexity issues 34/23634/8
authorIveta Halanova <iveta.halanova@pantheon.sk>
Wed, 1 Jul 2015 08:35:15 +0000 (10:35 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 1 Jul 2015 13:45:41 +0000 (13:45 +0000)
commite93588fb561431c4bd79925f0ac9dc401f15b82f
tree800a55e95233b7cc7adf34dcc7fc300961f3ec92
parent880cfa6c0053d6ff7411ea86733b1e8e3d584d7d
Sonar Warning Fix: complexity issues

NodeChangedListener:
- extracted for cycle into private updateTransaction method
Stateful07TopologySessionListener
- extracted building the Path variable
FSNlriParser
- switch extraction into private method setFlowspecType

Change-Id: Iec4d2d179527560150046531cc02fd198ea3d323
Signed-off-by: Iveta Halanova <iveta.halanova@pantheon.sk>
bgp/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/FSNlriParser.java
pcep/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/Stateful07TopologySessionListener.java
pcep/tunnel-provider/src/main/java/org/opendaylight/bgpcep/pcep/tunnel/provider/NodeChangedListener.java