Buggy code:
public abstract class Container extends Component { private static final Log log = LogFactory . getLog ( Container . class ) ; private static final Map markupCache = new HashMap ( ) ; private static final int MINIMAP_MAX_ENTRIES = 8 ; private static final boolean optimizeChildMapsForSpace = false ; private Map childForName ; private transient MarkupStream markupStream ; public Container ( final String name ) { } public Container ( String name , Serializable object ) { } public Container ( String name , Serializable object , String expression ) { } public Container add ( final Component child ) { } public final Component get ( final String path ) { } public final Iterator iterator ( ) { } public void removeAll ( ) { } public Container replace ( final Component child ) { } public final int size ( ) { } public String toString ( ) { } public final Object visitChildren ( final Class c , final IVisitor visitor ) { } public final Object visitChildren ( final IVisitor visitor ) { } protected final MarkupStream findMarkupStream ( ) { } protected final MarkupStream getMarkupStream ( ) { } protected String getMarkupType ( ) { <START_BUG> throw new IllegalStateException ( exceptionMessage ( "You<seq2seq4repair_space>cannot<seq2seq4repair_space>directly<seq2seq4repair_space>subclass<seq2seq4repair_space>Page<seq2seq4repair_space>or<seq2seq4repair_space>Container.<seq2seq4repair_space>Instead,<seq2seq4repair_space>subclass<seq2seq4repair_space>a<seq2seq4repair_space>markup-specific<seq2seq4repair_space>class,<seq2seq4repair_space>such<seq2seq4repair_space>as<seq2seq4repair_space>HtmlPage<seq2seq4repair_space>or<seq2seq4repair_space>HtmlContainer" ) ) ; <END_BUG> } protected void handleComponentTagBody ( final MarkupStream markupStream , final ComponentTag openTag ) { } protected void handleRender ( ) { } protected final void renderAssociatedMarkup ( final String openTagName , final String exceptionMessage ) { } protected final void renderComponentTagBody ( final MarkupStream markupStream , final ComponentTag openTag ) { } protected boolean resolveComponent ( final MarkupStream markupStream , final ComponentTag tag ) { } protected final void setMarkupStream ( final MarkupStream markupStream ) { } final MarkupStream getAssociatedMarkupStream ( ) { } final void renderAll ( final MarkupStream markupStream ) { } private Markup loadMarkup ( final Application application , final String key , final Resource markupResource ) throws IOException , ParseException , ResourceNotFoundException { } private Markup loadMarkupAndWatchForChanges ( final String key , final Resource markupResource ) { } private void optimize ( ) { } private void renderNext ( final MarkupStream markupStream ) { } }

Fix:
throw new IllegalStateException ( exceptionMessage ( "You<seq2seq4repair_space>cannot<seq2seq4repair_space>directly<seq2seq4repair_space>subclass<seq2seq4repair_space>Page<seq2seq4repair_space>or<seq2seq4repair_space>Container.<seq2seq4repair_space>Instead,<seq2seq4repair_space>subclass<seq2seq4repair_space>a<seq2seq4repair_space>markup-specific<seq2seq4repair_space>class,<seq2seq4repair_space>such<seq2seq4repair_space>as<seq2seq4repair_space>WebPage<seq2seq4repair_space>or<seq2seq4repair_space>WebContainer" ) ) ;