1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-23 20:42: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
Field field = pubSubManager.getClass().getDeclaredField("nodeMap");
field.setAccessible(true);
// CHECKSTYLE:OFF
Map<String, Node> nodeMap = (Map) field.get(pubSubManager);
// CHECKSTYLE:ON
// Check, if the node already exists
Node existingNode = nodeMap.get(nodeName);