mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-27 14:32:06 +01:00
Remove unnecessary checkstyle toggle
This commit is contained in:
parent
813690c10a
commit
c4848fffc9
1 changed files with 0 additions and 2 deletions
|
@ -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 a new issue