Buggy code:
public class ParallelPushAggregator < P , G > implements PushAggregator < P , G > { private static final Logger LOGGER = LoggerFactory . getLogger ( ParallelPushAggregator . class ) ; private Set < Pusher < P , G > > pusherRegistry ; public ParallelPushAggregator ( final Set < Pusher < P , G > > pusherRegistry ) { } @ Override public void sendPush ( final PushPayload payload , final PusherAggregatorTracker tracker ) { } @ Override public void sendPush ( final PushPayload payload , final Collection < G > groups , final PusherAggregatorTracker tracker ) { } @ Override public void sendPushToPlatforms ( final PushPayload payload , final Collection < P > platforms , final PusherAggregatorTracker tracker ) { } @ Override public void sendPushToPlatforms ( final PushPayload payload , final Collection < P > platforms , final Collection < G > groups , final PusherAggregatorTracker tracker ) { } private Set < Pusher < P , G > > getPushersForPlatformsOrFailTrying ( final Collection < P > platforms ) { } private void sendPushUsingStrategy ( final PusherAggregatorTracker tracker , final ParallelPushAggregator . PushStrategy < P , G > pushStrategy , final Set < Pusher < P , G > > pusherRegistry ) { } private void createListenableTaskAndExecuteForPusher ( final ListeningExecutorService service , final ParallelPushAggregator . PusherAggregatorTaskCallback callback , final Runnable runnable ) { } private static final class PusherAggregatorTaskCallback implements FutureCallback < Boolean > { private static final Logger LOGGER = LoggerFactory . getLogger ( ParallelPushAggregator . PusherAggregatorTaskCallback . class ) ; private int taskCount ; private int successCount ; private int failureCount ; private PusherAggregatorTracker delegate ; public PusherAggregatorTaskCallback ( final PusherAggregatorTracker delegate , final int taskCount ) { } @ Override public synchronized void onSuccess ( final Boolean result ) { } @ Override public synchronized void onFailure ( final Throwable t ) { <START_BUG> ParallelPushAggregator . PusherAggregatorTaskCallback . LOGGER . debug ( "Push<seq2seq4repair_space>failure<seq2seq4repair_space>received" , t ) ; <END_BUG> ( failureCount ) ++ ; markDelegateWhenFinished ( ) ; } private void markDelegateWhenFinished ( ) { } private boolean isFinished ( ) { } } private interface PushStrategy < P , G > { Runnable newRunnableForPusher ( Pusher < P , G > pusher ) { } } private static class GroupPushStrategy < P , G > extends ParallelPushAggregator . AllPushStrategy < P , G > { private Collection < G > groups ; private GroupPushStrategy ( final PushPayload payload , final Collection < G > groups ) { } @ Override public Runnable newRunnableForPusher ( final Pusher < P , G > pusher ) { } } private static class AllPushStrategy < P , G > implements ParallelPushAggregator . PushStrategy < P , G > { protected PushPayload payload ; private AllPushStrategy ( final PushPayload payload ) { } @ Override public Runnable newRunnableForPusher ( final Pusher < P , G > pusher ) { } } private class PlatformFilter implements Predicate < Pusher < P , G > > { private Collection < P > platformsToKeep ; public PlatformFilter ( final Collection < P > platformsToKeep ) { } @ Override public boolean apply ( final Pusher < P , G > input ) { } } }

Fix:
ParallelPushAggregator . PusherAggregatorTaskCallback . LOGGER . error ( "Push<seq2seq4repair_space>failure<seq2seq4repair_space>received" , t ) ;