Buggy code:
@ Repository public class SqlBillUpdatesDao extends SqlBaseDao implements BillUpdatesDao { private static final Logger logger = LoggerFactory . getLogger ( SqlBillUpdatesDao . class ) ; private static class BillUpdateTable { public SqlTable table ; public List < String > columns ; public BillUpdateTable ( SqlTable table , String ... columns ) { } } private static final Map < BillUpdateField , SqlBillUpdatesDao . BillUpdateTable > updateMappings = new HashMap < > ( ) ; @ Override public PaginatedList < UpdateToken < BaseBillId > > getUpdates ( Range < LocalDateTime > dateTimeRange , UpdateType type , BillUpdateField filter , SortOrder dateOrder , LimitOffset limOff ) { } @ Override public PaginatedList < UpdateDigest < BaseBillId > > getDetailedUpdates ( Range < LocalDateTime > dateTimeRange , UpdateType type , BillUpdateField filter , SortOrder dateOrder , LimitOffset limOff ) { } @ Override public PaginatedList < UpdateDigest < BaseBillId > > getDetailedUpdatesForBill ( BaseBillId billId , Range < LocalDateTime > dateTimeRange , UpdateType type , BillUpdateField filter , SortOrder dateOrder , LimitOffset limOff ) { } private String getSqlQuery ( boolean detail , BaseBillId billId , UpdateType updateType , BillUpdateField fieldFilter , SortOrder sortOrder , LimitOffset limOff ) { String dateColumn ; OrderBy orderBy ; if ( updateType . equals ( PROCESSED_DATE ) ) { dateColumn = "log.action_date_time" ; orderBy = new OrderBy ( "last_processed_date_time" , sortOrder ) ; } else if ( updateType . equals ( PUBLISHED_DATE ) ) { dateColumn = "sobi.published_date_time" ; orderBy = new OrderBy ( "last_published_date_time" , sortOrder , "last_processed_date_time" , sortOrder ) ; } else { <START_BUG> throw new IllegalArgumentException ( ( "Bill<seq2seq4repair_space>Updates<seq2seq4repair_space>cannot<seq2seq4repair_space>provide<seq2seq4repair_space>updates<seq2seq4repair_space>of<seq2seq4repair_space>type:<seq2seq4repair_space>{}" + updateType ) ) ; <END_BUG> } String sqlQuery ; if ( billId != null ) { sqlQuery = SqlBillUpdatesQuery . SELECT_UPDATE_DIGESTS_FOR_SPECIFIC_BILL . getSql ( schema ( ) , orderBy , limOff ) ; } else { sqlQuery = ( detail ) ? SqlBillUpdatesQuery . SELECT_BILL_UPDATE_DIGESTS . getSql ( schema ( ) , orderBy , limOff ) : SqlBillUpdatesQuery . SELECT_BILL_UPDATE_TOKENS . getSql ( schema ( ) , orderBy , limOff ) ; } sqlQuery = queryReplace ( sqlQuery , "dateColumn" , dateColumn ) ; sqlQuery = queryReplace ( sqlQuery , "updateFieldFilter" , getUpdateFieldFilter ( fieldFilter ) ) ; return sqlQuery ; } private String getUpdateFieldFilter ( BillUpdateField field ) { } private static final RowMapper < UpdateToken < BaseBillId > > getBillUpdateTokenFromRs = ( rs , rowNum ) -> new UpdateToken < > ( new BaseBillId ( rs . getString ( "bill_print_no" ) , rs . getInt ( "bill_session_year" ) ) , rs . getString ( "last_fragment_id" ) , getLocalDateTimeFromRs ( rs , "last_published_date_time" ) , getLocalDateTimeFromRs ( rs , "last_processed_date_time" ) ) ; private static class BillUpdateDigestMapper implements RowMapper < UpdateDigest < BaseBillId > > { private BillUpdateField fieldFilter ; public BillUpdateDigestMapper ( BillUpdateField fieldFilter ) { } @ Override public UpdateDigest < BaseBillId > mapRow ( ResultSet rs , int rowNum ) throws SQLException { } } }

Fix:
throw new IllegalArgumentException ( ( "Cannot<seq2seq4repair_space>provide<seq2seq4repair_space>bill<seq2seq4repair_space>updates<seq2seq4repair_space>of<seq2seq4repair_space>type:<seq2seq4repair_space>" + updateType ) ) ;