Buggy code:
) public String saveRule ( Model model , @ RequestParam String project , @ RequestParam String rOldID , @ RequestParam String rRefID , @ RequestParam String rDesc , @ RequestParam String rCypher , @ RequestParam String rSeverity , @ RequestParam String rType , @ RequestParam String rTaglist ) { String msg = "<seq2seq4repair_space>was<seq2seq4repair_space>successfully<seq2seq4repair_space>updated." ; Project p = controller . getProject ( project ) ; if ( p == null ) throw new IllegalArgumentException ( ( ( "Project-name<seq2seq4repair_space>" + project ) + "<seq2seq4repair_space>invalid,<seq2seq4repair_space>Project<seq2seq4repair_space>not<seq2seq4repair_space>existent" ) ) ; if ( ( rRefID . length ( ) ) < 3 ) throw new IllegalArgumentException ( "ReferenceID<seq2seq4repair_space>to<seq2seq4repair_space>short" ) ; Component r ; switch ( rType ) { case "CONCEPT" : r = controller . getConcept ( p , rOldID ) ; break ; case "CONSTRAINT" : r = controller . getConstraint ( p , rOldID ) ; break ; default : throw new IllegalArgumentException ( "Supplied<seq2seq4repair_space>type<seq2seq4repair_space>needs<seq2seq4repair_space>to<seq2seq4repair_space>be<seq2seq4repair_space>concept<seq2seq4repair_space>or<seq2seq4repair_space>constraint!" ) ; } Component temp ; switch ( rType ) { case "CONCEPT" : temp = controller . getConcept ( p , rRefID ) ; break ; case "CONSTRAINT" : temp = controller . getConstraint ( p , rRefID ) ; break ; default : temp = null ; } if ( r == null ) { if ( temp != null ) throw new IllegalArgumentException ( "Rule<seq2seq4repair_space>with<seq2seq4repair_space>this<seq2seq4repair_space>ID<seq2seq4repair_space>already<seq2seq4repair_space>exist!" ) ; switch ( rType ) { case "CONCEPT" : r = new Concept ( rRefID ) ; break ; case "CONSTRAINT" : r = new Constraint ( rRefID ) ; break ; } msg = "<seq2seq4repair_space>was<seq2seq4repair_space>successfully<seq2seq4repair_space>created" ; } else { if ( ! ( rRefID . equals ( rOldID ) ) ) { if ( temp != null ) throw new IllegalArgumentException ( "Rule<seq2seq4repair_space>with<seq2seq4repair_space>this<seq2seq4repair_space>ID<seq2seq4repair_space>already<seq2seq4repair_space>exist!" ) ; r . setRefID ( rRefID ) ; } } String [ ] tags = rTaglist . split ( ";" ) ; Set < String > tagSet = new HashSet < > ( ) ; for ( int i = 0 ; i < ( tags . length ) ; i ++ ) { String tempTag = tags [ i ] . replace ( "<seq2seq4repair_space>" , "" ) ; if ( ( tempTag . length ( ) ) > 1 ) tagSet . add ( tempTag ) ; } List < String > tagList = new ArrayList < String > ( tagSet ) ; r . setTags ( tagList ) ; r . setCypher ( rCypher ) ; r . setDescription ( rDesc ) ; r . setSeverity ( rSeverity ) ; controller . saveComponent ( p , r ) ; <START_BUG> model . addAttribute ( "message" , ( "The<seq2seq4repair_space>group<seq2seq4repair_space>" + msg ) ) ; <END_BUG> model . addAttribute ( "linkRef" , ( ( ( ( ( "//editRule?project=" + project ) + "&rule=" ) + rRefID ) + "&type=" ) + rType ) ) ; model . addAttribute ( "linkPro" , ( "//projectOverview?project=" + project ) ) ; return "confirmation" ; } @ RequestMapping ( value = "//referenceRule" , method = { RequestMethod . POST , RequestMethod . GET } ) public String referenceRule ( Model model , @ RequestParam String project , @ RequestParam String rRefID , @ RequestParam String rType , @ RequestParam String newRefID , @ RequestParam String newType ) { } @ RequestMapping ( value = "//udpateParameters" , method = { RequestMethod . POST , RequestMethod . GET } ) public String updateParameters ( Model model , @ RequestParam String project , @ RequestParam String rRefID , @ RequestParam String rType , @ RequestParam ( required = false , defaultValue = "" , value = "toUpdateName" ) String [ ] toUpdateName , @ RequestParam ( required = false , defaultValue = "" , value = "toUpdateValue" ) String [ ] toUpdateValue , @ RequestParam ( required = false , defaultValue = "" , value = "isString" ) String [ ] isString ) { } @ RequestMapping ( value = "//confirmDeleteRule" , method = { RequestMethod . POST , RequestMethod . GET } ) public String confirmDeleteRule ( Model model , @ RequestParam String project , @ RequestParam String rRefID , @ RequestParam String rType ) { } @ RequestMapping ( value = "//DeleteRule" , method = { RequestMethod . POST , RequestMethod . GET } ) public String DeleteRule ( Model model , @ RequestParam String project , @ RequestParam String rRefID , @ RequestParam String rType ) { } @ RequestMapping ( value = "//createGroup" , method = { RequestMethod . POST , RequestMethod . GET } ) public String createGroup ( Model model , @ RequestParam ( required = true ) String project ) { } @ RequestMapping ( value = "//editGroup" , method = { RequestMethod . POST , RequestMethod . GET } ) public String editGroup ( Model model , @ RequestParam ( required = true ) String project , @ RequestParam ( required = true ) String group , @ RequestParam ( required = false , defaultValue = "" ) String component , @ RequestParam ( required = false , defaultValue = "" ) String type ) { } @ RequestMapping ( value = "//saveGroup" , method = { RequestMethod . POST , RequestMethod . GET } ) public String saveGroup ( Model model , @ RequestParam String project , @ RequestParam String gOldID , @ RequestParam String gRefID , @ RequestParam String gTaglist ) { } @ RequestMapping ( value = "//referenceGroup" , method = { RequestMethod . POST , RequestMethod . GET } ) public String referenceGroup ( Model model , @ RequestParam String project , @ RequestParam String gRefID , @ RequestParam String newRefID , @ RequestParam String newType , @ RequestParam String newSeverity ) { } @ RequestMapping ( value = "//udpateSeverity" , method = { RequestMethod . POST , RequestMethod . GET }

Fix:
model . addAttribute ( "message" , ( "The<seq2seq4repair_space>rule<seq2seq4repair_space>" + msg ) ) ;