Buggy code:
public class NodeMonitor { private static final Logger LOG = Logger . getLogger ( NodeMonitor . class ) ; private static final Logger AUDIT_LOG = Logging . getAuditLogger ( TaskScheduler . class ) ; private static NodeMonitorState state ; private HashMap < String , InetSocketAddress > appSockets = new HashMap < String , InetSocketAddress > ( ) ; private HashMap < String , List < TFullTaskId > > appTasks = new HashMap < String , List < TFullTaskId > > ( ) ; ThriftClientPool < InternalService . AsyncClient > nodeMonitorClientPool = new ThriftClientPool < InternalService . AsyncClient > ( new ThriftClientPool . InternalServiceMakerFactory ( ) ) ; private Boolean stealing ; private int maxStealingAttempts ; private int stealingAttempts ; public double smallPartition = 0 ; public double bigPartition = 0 ; private List < String > notExecutingLong ; private double longStatusTimestamp ; private boolean gossiping ; private ConcurrentMap < String , InetSocketAddress > requestSchedulers = Maps . newConcurrentMap ( ) ; private ThriftClientPool < SchedulerService . AsyncClient > schedulerClientPool = new ThriftClientPool < SchedulerService . AsyncClient > ( new ThriftClientPool . SchedulerServiceMakerFactory ( ) ) ; private TaskScheduler scheduler ; private TaskLauncherService taskLauncherService ; private String ipAddress ; public void initialize ( Configuration conf , int nodeMonitorInternalPort ) throws UnknownHostException { } public boolean registerBackend ( String appId , InetSocketAddress nmAddr , InetSocketAddress backendAddr ) { } public void tasksFinished ( List < TFullTaskId > tasks ) { } private List < InetSocketAddress > getCleanWorkersList ( ) { } public void requestTaskReservations ( ) { } public List < TEnqueueTaskReservationsRequest > sendTaskReservations ( ) { } private class SendTaskReservationsCallback implements AsyncMethodCallback < sendTasksReservations_call > { private InetSocketAddress nodeMonitorSocket ; private AsyncClient client ; public SendTaskReservationsCallback ( InetSocketAddress socket , InternalService . AsyncClient client ) { } public void onError ( Exception exception ) { } @ Override public void onComplete ( sendTasksReservations_call response ) { } } private void gossipNotExecutingLong ( int round ) { } private class ReceiveGossipCallback implements AsyncMethodCallback < receiveGossip_call > { private InetSocketAddress nodeMonitorSocket ; private AsyncClient client ; public ReceiveGossipCallback ( InetSocketAddress socket , InternalService . AsyncClient client ) { } public void onError ( Exception exception ) { } @ Override public void onComplete ( receiveGossip_call response ) { } } public void receiveGossip ( List < String > notExecutingLong , double longStatusTimestamp , int round ) { } public boolean enqueueTasksCentralized ( TEnqueueTaskReservationsRequest request , List < String > notExecutingLong , double longStatusTimestamp ) { assert ( notExecutingLong . size ( ) ) > 0 ; <START_BUG> NodeMonitor . LOG . info ( ( ( ( ( ( ( ( "EAGLE<seq2seq4repair_space>Received<seq2seq4repair_space>enqueue<seq2seq4repair_space>task<seq2seq4repair_space>from<seq2seq4repair_space>CENTRALIZED<seq2seq4repair_space>" + ( ipAddress ) ) + "<seq2seq4repair_space>longStatusTimestamp<seq2seq4repair_space>" ) + longStatusTimestamp ) + ",<seq2seq4repair_space>count<seq2seq4repair_space>not<seq2seq4repair_space>executing<seq2seq4repair_space>long<seq2seq4repair_space>" ) + ( notExecutingLong . size ( ) ) ) + "<seq2seq4repair_space>first<seq2seq4repair_space>address<seq2seq4repair_space>" ) + ( notExecutingLong . get ( 0 ) ) ) ) ; <END_BUG> this . longStatusTimestamp = longStatusTimestamp ; this . notExecutingLong = notExecutingLong ; if ( gossiping ) gossipNotExecutingLong ( 1 ) ; return enqueueTaskReservations ( request ) ; } public TEnqueueTaskReservationsResponse probeEnqueueTaskReservations ( TEnqueueTaskReservationsRequest request ) { } public boolean enqueueTaskReservations ( TEnqueueTaskReservationsRequest request ) { } public void cancelTaskReservations ( String requestId ) { } private class sendFrontendMessageCallback implements AsyncMethodCallback < sendFrontendMessage_call > { private InetSocketAddress frontendSocket ; private AsyncClient client ; public sendFrontendMessageCallback ( InetSocketAddress socket , AsyncClient client ) { } public void onComplete ( sendFrontendMessage_call response ) { } public void onError ( Exception exception ) { } } public void sendFrontendMessage ( String app , TFullTaskId taskId , int status , ByteBuffer message ) { } public Boolean getStealing ( ) { } public void setStealing ( Boolean stealing ) { } }

Fix:
NodeMonitor . LOG . info ( ( ( ( ( ( "EAGLE<seq2seq4repair_space>Received<seq2seq4repair_space>enqueue<seq2seq4repair_space>task<seq2seq4repair_space>from<seq2seq4repair_space>CENTRALIZED<seq2seq4repair_space>" + ( ipAddress ) ) + "<seq2seq4repair_space>longStatusTimestamp<seq2seq4repair_space>" ) + longStatusTimestamp ) + ",<seq2seq4repair_space>count<seq2seq4repair_space>not<seq2seq4repair_space>executing<seq2seq4repair_space>long<seq2seq4repair_space>" ) + ( notExecutingLong . size ( ) ) ) ) ;