Simplify boolean expressions
[netconf.git] / netconf / netconf-notifications-impl / src / main / java / org / opendaylight / netconf / notifications / impl / ops / Get.java
index 3655ae209cf3ffab1e3518eae999757771b34d48..0ff934b39d57063961f398b2b22d3c000fa3c94f 100644 (file)
@@ -65,7 +65,7 @@ public class Get extends AbstractNetconfOperation implements AutoCloseable {
             throws DocumentedException {
         final Document partialResponse = subsequentOperation.execute(requestMessage);
         final Streams availableStreams = notificationRegistry.getNotificationPublishers();
-        if (availableStreams.getStream().isEmpty() == false) {
+        if (!availableStreams.getStream().isEmpty()) {
             serializeStreamsSubtree(partialResponse, availableStreams);
         }
         return partialResponse;