Remove unnecessary checkstyle toggle
This commit is contained in:
parent
813690c10a
commit
c4848fffc9
|
@ -373,9 +373,7 @@ public class PubSubDelegate {
|
||||||
// Get access to the PubSubManager's nodeMap
|
// Get access to the PubSubManager's nodeMap
|
||||||
Field field = pubSubManager.getClass().getDeclaredField("nodeMap");
|
Field field = pubSubManager.getClass().getDeclaredField("nodeMap");
|
||||||
field.setAccessible(true);
|
field.setAccessible(true);
|
||||||
// CHECKSTYLE:OFF
|
|
||||||
Map<String, Node> nodeMap = (Map) field.get(pubSubManager);
|
Map<String, Node> nodeMap = (Map) field.get(pubSubManager);
|
||||||
// CHECKSTYLE:ON
|
|
||||||
|
|
||||||
// Check, if the node already exists
|
// Check, if the node already exists
|
||||||
Node existingNode = nodeMap.get(nodeName);
|
Node existingNode = nodeMap.get(nodeName);
|
||||||
|
|
Loading…
Reference in New Issue