Switch to JDT annotations for Nullable and NonNull
[netvirt.git] / qosservice / impl / src / main / java / org / opendaylight / netvirt / qosservice / QosAlertPollIntervalCLI.java
index 76d38890ab09bc72ee2e503002a31fd5f59de8ab..e8dea5ae471c8bd950a25f1b833e76b672f11f24 100644 (file)
@@ -11,6 +11,7 @@ package org.opendaylight.netvirt.qosservice;
 import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.commands.Command;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
+import org.eclipse.jdt.annotation.Nullable;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -27,10 +28,11 @@ public class QosAlertPollIntervalCLI extends OsgiCommandSupport {
 
     public void setQosAlertManager(QosAlertManager qosAlertManager) {
         this.qosAlertManager = qosAlertManager;
-        LOG.debug("Qos manager:{} set", qosAlertManager);
+        LOG.trace("Qos manager:{} set", qosAlertManager);
     }
 
     @Override
+    @Nullable
     protected Object doExecute() {
         LOG.debug("setting threshold in qos alert manager:{}", interval);
         qosAlertManager.setPollInterval(Integer.parseInt(interval));