1
0
Fork 0
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:
Paul Schaub 2018-07-03 18:11:33 +02:00
parent 813690c10a
commit c4848fffc9
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -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);