Buggy code:
public class RadioChoice extends AbstractSingleSelectChoice implements IOnChangeListener { private class SuffixChange extends Change { final String prevSuffix ; SuffixChange ( String prevSuffix ) { } public void undo ( ) { } } private class PrefixChange extends Change { final String prevPrefix ; PrefixChange ( String prevSuffix ) { } public void undo ( ) { } } private String prefix = "" ; private String suffix = "<br<seq2seq4repair_space>//>\n" ; public RadioChoice ( final String id ) { } public RadioChoice ( final String id , final List choices ) { } public RadioChoice ( final String id , final List choices , final IChoiceRenderer renderer ) { } public RadioChoice ( final String id , IModel model , final List choices ) { } public RadioChoice ( final String id , IModel model , final List choices , final IChoiceRenderer renderer ) { } public RadioChoice ( String id , IModel choices ) { } public RadioChoice ( String id , IModel model , IModel choices ) { } public RadioChoice ( String id , IModel choices , IChoiceRenderer renderer ) { } public RadioChoice ( String id , IModel model , IModel choices , IChoiceRenderer renderer ) { } public void onSelectionChanged ( ) { } protected void onSelectionChanged ( Object newSelection ) { } protected boolean wantOnSelectionChangedNotifications ( ) { } public final String getPrefix ( ) { } public final RadioChoice setPrefix ( String prefix ) { } public final String getSuffix ( ) { } public final RadioChoice setSuffix ( String suffix ) { } protected final void onComponentTagBody ( final MarkupStream markupStream , final ComponentTag openTag ) { final StringBuffer buffer = new StringBuffer ( ) ; final List choices = getChoices ( ) ; for ( int index = 0 ; index < ( choices . size ( ) ) ; index ++ ) { final Object choice = choices . get ( index ) ; final String label = getChoiceRenderer ( ) . getDisplayValue ( choice ) ; if ( label != null ) { buffer . append ( getPrefix ( ) ) ; String id = getChoiceRenderer ( ) . getIdValue ( choice , index ) ; <START_BUG> buffer . append ( ( ( ( ( ( ( ( "<input<seq2seq4repair_space>name=\"" + ( getPath ( ) ) ) + "\"" ) + "<seq2seq4repair_space>type=\"radio\"" ) + ( isSelected ( choice , index ) ? "<seq2seq4repair_space>checked" : "" ) ) + "<seq2seq4repair_space>value=\"" ) + id ) + "\"" ) ) ; <END_BUG> if ( wantOnSelectionChangedNotifications ( ) ) { final String url = urlFor ( IOnChangeListener . class ) ; buffer . append ( ( ( ( ( ( ( "<seq2seq4repair_space>onclick=\"location.href=\'" + url ) + "&" ) + ( getPath ( ) ) ) + "=" ) + id ) + "\';\"" ) ) ; } buffer . append ( ">" ) ; String display = getLocalizer ( ) . getString ( ( ( ( getId ( ) ) + "." ) + label ) , this , label ) ; String escaped = Strings . escapeMarkup ( display , false , true ) ; buffer . append ( escaped ) ; buffer . append ( getSuffix ( ) ) ; } } replaceComponentTagBody ( markupStream , openTag , buffer . toString ( ) ) ; } }

Fix:
buffer . append ( ( ( ( ( ( ( ( "<input<seq2seq4repair_space>name=\"" + ( getInputName ( ) ) ) + "\"" ) + "<seq2seq4repair_space>type=\"radio\"" ) + ( isSelected ( choice , index ) ? "<seq2seq4repair_space>checked" : "" ) ) + "<seq2seq4repair_space>value=\"" ) + id ) + "\"" ) ) ;