Buggy code:
@ Command ( scope = "onos" , name = "tunnels" , description = "Supports<seq2seq4repair_space>for<seq2seq4repair_space>querying<seq2seq4repair_space>tunnels." + "<seq2seq4repair_space>It's<seq2seq4repair_space>used<seq2seq4repair_space>by<seq2seq4repair_space>consumers." ) public class TunnelQueryCommand extends AbstractShellCommand { @ Option ( name = "-s" , aliases = "--src" , description = "Source<seq2seq4repair_space>tunnel<seq2seq4repair_space>point." + ( ( "<seq2seq4repair_space>Only<seq2seq4repair_space>supports<seq2seq4repair_space>for<seq2seq4repair_space>IpTunnelEndPoint<seq2seq4repair_space>and<seq2seq4repair_space>OpticalTunnelEndPoint<seq2seq4repair_space>as<seq2seq4repair_space>end<seq2seq4repair_space>point<seq2seq4repair_space>now." + "<seq2seq4repair_space>If<seq2seq4repair_space>deletess<seq2seq4repair_space>a<seq2seq4repair_space>ODUK<seq2seq4repair_space>or<seq2seq4repair_space>OCH<seq2seq4repair_space>type<seq2seq4repair_space>tunnel,<seq2seq4repair_space>the<seq2seq4repair_space>formatter<seq2seq4repair_space>of<seq2seq4repair_space>this<seq2seq4repair_space>argument<seq2seq4repair_space>is<seq2seq4repair_space>DeviceId-PortNumber." ) + "<seq2seq4repair_space>Otherwise<seq2seq4repair_space>src<seq2seq4repair_space>means<seq2seq4repair_space>IP<seq2seq4repair_space>address." ) , required = false , multiValued = false ) String src = null ; @ Option ( name = "-d" , aliases = "--dst" , description = "Destination<seq2seq4repair_space>tunnel<seq2seq4repair_space>point." + ( ( "<seq2seq4repair_space>Only<seq2seq4repair_space>supports<seq2seq4repair_space>for<seq2seq4repair_space>IpTunnelEndPoint<seq2seq4repair_space>and<seq2seq4repair_space>OpticalTunnelEndPoint<seq2seq4repair_space>as<seq2seq4repair_space>end<seq2seq4repair_space>point<seq2seq4repair_space>now." + "<seq2seq4repair_space>If<seq2seq4repair_space>deletess<seq2seq4repair_space>a<seq2seq4repair_space>ODUK<seq2seq4repair_space>or<seq2seq4repair_space>OCH<seq2seq4repair_space>type<seq2seq4repair_space>tunnel,<seq2seq4repair_space>the<seq2seq4repair_space>formatter<seq2seq4repair_space>of<seq2seq4repair_space>this<seq2seq4repair_space>argument<seq2seq4repair_space>is<seq2seq4repair_space>DeviceId-PortNumber." ) + "<seq2seq4repair_space>Otherwise<seq2seq4repair_space>dst<seq2seq4repair_space>means<seq2seq4repair_space>IP<seq2seq4repair_space>address." ) , required = false , multiValued = false ) String dst = null ; @ Option ( name = "-t" , aliases = "--type" , description = "The<seq2seq4repair_space>type<seq2seq4repair_space>of<seq2seq4repair_space>tunnels," + "<seq2seq4repair_space>It<seq2seq4repair_space>includes<seq2seq4repair_space>MPLS,<seq2seq4repair_space>VLAN,<seq2seq4repair_space>VXLAN,<seq2seq4repair_space>GRE,<seq2seq4repair_space>ODUK,<seq2seq4repair_space>OCH" , required = false , multiValued = false ) String type = null ; @ Option ( name = "-i" , aliases = "--tunnelId" , description = "the<seq2seq4repair_space>tunnel<seq2seq4repair_space>identity." , required = false , multiValued = false ) String tunnelId = null ; private static final String FMT = "tunnelId=%s,<seq2seq4repair_space>src=%s,<seq2seq4repair_space>dst=%s," + ( "type=%s,<seq2seq4repair_space>state=%s,<seq2seq4repair_space>producerName=%s,<seq2seq4repair_space>tunnelName=%s," + "groupId=%s,<seq2seq4repair_space>path=%s%s" ) ; @ Override protected void execute ( ) { } private String showPath ( Path path ) { if ( path == null ) { <START_BUG> return "" ; <END_BUG> } StringBuilder builder = new StringBuilder ( "(" ) ; for ( Link link : path . links ( ) ) { builder . append ( ( ( ( "(DeviceId:" + ( link . src ( ) . deviceId ( ) ) ) + "<seq2seq4repair_space>Port:" ) + ( link . src ( ) . port ( ) . toString ( ) ) ) ) ; builder . append ( ( ( ( ( "<seq2seq4repair_space>DeviceId:" + ( link . dst ( ) . deviceId ( ) ) ) + "<seq2seq4repair_space>Port:" ) + ( link . dst ( ) . port ( ) . toString ( ) ) ) + ")" ) ) ; } builder . append ( ( ( annotations ( path . annotations ( ) ) ) + ")" ) ) ; return builder . toString ( ) ; } private boolean isNull ( String s ) { } }

Fix:
return "null" ;