Simplify boolean expressions
[netconf.git] / netconf / sal-netconf-connector / src / main / java / org / opendaylight / netconf / sal / connect / netconf / NotificationHandler.java
index 5b28366c07703d2b5337866f355438b5691bd4f2..7db88e0d048baa09be115d015f3e0eaba8153509 100644 (file)
@@ -72,7 +72,7 @@ final class NotificationHandler {
     }
 
     private void queueNotification(final NetconfMessage notification) {
-        Preconditions.checkState(passNotifications == false);
+        Preconditions.checkState(!passNotifications);
 
         LOG.debug("{}: Caching notification {}, remote schema not yet fully built", id, notification);
         if (LOG.isTraceEnabled()) {