Buggy code:
public class AddModifyRefereeController implements ActionListener { private final int SAVE_OPERATION = 0 ; private final int CANCEL_OPERATION = 1 ; private final int UPDATE_OPERATION = 2 ; private final int DELETE_OPERATION = 3 ; private final int MATCH_OPERATION = 4 ; private final int NORTH = 0 ; private final int CENTRAL = 1 ; private final int SOUTH = 2 ; private MainGUI mainWindow ; private AddRefereeGUI addWindow ; private ModifyRefereeGUI modifyWindow ; private MatchList matchList ; private RefereeList refereeList ; public AddModifyRefereeController ( MainGUI window , RefereeList refereeList , MatchList matchList ) { } public void setAddRefereeGUI ( AddRefereeGUI window ) { } public void setModifyRefereeGUI ( ModifyRefereeGUI window ) { } public void actionPerformed ( ActionEvent ae ) { } private void processSave ( ) { } private void processCancel ( boolean add ) { } private void processUpdate ( ) { } private void processDelete ( ) { } private void reallocateMatches ( ) { } private boolean checkInput ( RefereeInputGUI window , boolean add ) { } private void getInputFromBoxes ( RefereeInputGUI window , Referee referee ) { } private boolean askConfirmation ( int operation , Referee referee ) { String confirmMessage = "" ; switch ( operation ) { case SAVE_OPERATION : confirmMessage = ( "Do<seq2seq4repair_space>you<seq2seq4repair_space>want<seq2seq4repair_space>to<seq2seq4repair_space>add<seq2seq4repair_space>the<seq2seq4repair_space>referee\n" + referee ) + "?" ; break ; case CANCEL_OPERATION : confirmMessage = "Do<seq2seq4repair_space>you<seq2seq4repair_space>want<seq2seq4repair_space>to<seq2seq4repair_space>cancel<seq2seq4repair_space>the<seq2seq4repair_space>operation?" ; break ; case UPDATE_OPERATION : confirmMessage = ( "Do<seq2seq4repair_space>you<seq2seq4repair_space>want<seq2seq4repair_space>to<seq2seq4repair_space>update<seq2seq4repair_space>the<seq2seq4repair_space>referee<seq2seq4repair_space>to\n" + referee ) + "?" ; break ; case DELETE_OPERATION : confirmMessage = ( "Do<seq2seq4repair_space>you<seq2seq4repair_space>want<seq2seq4repair_space>to<seq2seq4repair_space>delete<seq2seq4repair_space>the<seq2seq4repair_space>referee\n" + referee ) + "?" ; break ; case MATCH_OPERATION : <START_BUG> confirmMessage = ( ( ( "The<seq2seq4repair_space>referee<seq2seq4repair_space>" + referee ) + "<seq2seq4repair_space>was<seq2seq4repair_space>assigned<seq2seq4repair_space>to<seq2seq4repair_space>one<seq2seq4repair_space>or<seq2seq4repair_space>more<seq2seq4repair_space>matches.\n" ) + "If<seq2seq4repair_space>you<seq2seq4repair_space>modify<seq2seq4repair_space>this<seq2seq4repair_space>referee,<seq2seq4repair_space>the<seq2seq4repair_space>match(es)<seq2seq4repair_space>might<seq2seq4repair_space>be<seq2seq4repair_space>modified<seq2seq4repair_space>as<seq2seq4repair_space>well.\n" ) + "Do<seq2seq4repair_space>you<seq2seq4repair_space>want<seq2seq4repair_space>to<seq2seq4repair_space>proceed?" ; <END_BUG> break ; } int answer = JOptionPane . showConfirmDialog ( null , confirmMessage , "Confirm<seq2seq4repair_space>operation" , JOptionPane . OK_CANCEL_OPTION ) ; if ( answer == ( JOptionPane . OK_OPTION ) ) return true ; else return false ; } private void resetComponents ( ) { } private void updateCheckBoxes ( boolean add ) { } }

Fix:
confirmMessage = ( ( ( "The<seq2seq4repair_space>referee<seq2seq4repair_space>" + referee ) + "<seq2seq4repair_space>was<seq2seq4repair_space>assigned<seq2seq4repair_space>to<seq2seq4repair_space>one<seq2seq4repair_space>or<seq2seq4repair_space>more<seq2seq4repair_space>matches.\n" ) + "If<seq2seq4repair_space>you<seq2seq4repair_space>modify<seq2seq4repair_space>this<seq2seq4repair_space>referee,<seq2seq4repair_space>the<seq2seq4repair_space>match(es)<seq2seq4repair_space>might<seq2seq4repair_space>be<seq2seq4repair_space>modified<seq2seq4repair_space>or<seq2seq4repair_space>deleted.\n" ) + "Do<seq2seq4repair_space>you<seq2seq4repair_space>want<seq2seq4repair_space>to<seq2seq4repair_space>proceed?" ;