Handle nullable lists in elanmanager
[netvirt.git] / elanmanager / impl / src / main / java / org / opendaylight / netvirt / elan / cli / ElanInterfaceAdd.java
index 6627903752418cc1a89121a94ae78307a301ede6..9e6fd8e6cf160598521c0b55738fd071998d99f1 100644 (file)
@@ -8,6 +8,7 @@
 package org.opendaylight.netvirt.elan.cli;
 
 import java.util.List;
+import javax.annotation.Nullable;
 import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.commands.Command;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
@@ -36,6 +37,7 @@ public class ElanInterfaceAdd extends OsgiCommandSupport {
     }
 
     @Override
+    @Nullable
     protected Object doExecute() {
         LOG.debug("Executing create ElanInterface command for elanName:{}, interfaceName:{}, staticMacAddresses:{},"
                 + "elanInterfaceDescr:{}",elanName, interfaceName, staticMacAddresses, elanInterfaceDescr);