Fix warnings/javadocs in sal-distributed-datastore
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / ShardDataTreeNotificationPublisherActor.java
index 81023562801926fb0aa05c394afb9014c4be5240..76c52c9bb55e4342d0056b81dd2e0748cd64aa6f 100644 (file)
@@ -29,7 +29,7 @@ public class ShardDataTreeNotificationPublisherActor extends AbstractUntypedActo
 
     @Override
     protected void handleReceive(Object message) {
-        if(message instanceof PublishNotifications) {
+        if (message instanceof PublishNotifications) {
             PublishNotifications publisher = (PublishNotifications)message;
             timer.start();
 
@@ -38,7 +38,7 @@ public class ShardDataTreeNotificationPublisherActor extends AbstractUntypedActo
             } finally {
                 long elapsedTime = timer.elapsed(TimeUnit.MILLISECONDS);
 
-                if(elapsedTime >= ShardDataTreeNotificationPublisher.PUBLISH_DELAY_THRESHOLD_IN_MS) {
+                if (elapsedTime >= ShardDataTreeNotificationPublisher.PUBLISH_DELAY_THRESHOLD_IN_MS) {
                     LOG.warn("{}: Generation of change events for {} took longer than expected. Elapsed time: {}",
                             publisher.logContext, name, timer);
                 } else {