Buggy code:
public abstract class Application { public static final String CONFIGURATION = "configuration" ; public static final String CONTEXTPATH = "contextpath" ; public static final String DEPLOYMENT = "deployment" ; public static final String DEVELOPMENT = "development" ; private static final Map applicationKeyToApplication = new HashMap ( 1 ) ; private static final ThreadLocal current = new ThreadLocal ( ) ; private static final Logger log = LoggerFactory . getLogger ( Application . class ) ; public static boolean exists ( ) { } public static Application get ( ) { } public static Application get ( String applicationKey ) { } public static void set ( final Application application ) { } public static void unset ( ) { } private IComponentInstantiationListener [ ] componentInstantiationListeners = new IComponentInstantiationListener [ 0 ] ; private String configurationType ; private List initializers = new ArrayList ( ) ; private final MarkupCache markupCache ; private MetaDataEntry [ ] metaData ; private final String name ; private IRequestLogger requestLogger ; private ISessionStore sessionStore ; private Settings settings ; private boolean settingsAccessible ; private final SharedResources sharedResources ; public Application ( ) { } public final void addComponentInstantiationListener ( final IComponentInstantiationListener listener ) { } public final void configure ( final String configurationType ) { } public final void configure ( final String configurationType , final IResourceFinder resourceFinder ) { this . configurationType = configurationType ; if ( resourceFinder != null ) { getResourceSettings ( ) . setResourceFinder ( resourceFinder ) ; } if ( Application . DEVELOPMENT . equalsIgnoreCase ( configurationType ) ) { getResourceSettings ( ) . setResourcePollFrequency ( ONE_SECOND ) ; getDebugSettings ( ) . setComponentUseCheck ( true ) ; getMarkupSettings ( ) . setStripWicketTags ( false ) ; getExceptionSettings ( ) . setUnexpectedExceptionDisplay ( SHOW_EXCEPTION_PAGE ) ; getDebugSettings ( ) . setAjaxDebugModeEnabled ( true ) ; getResourceSettings ( ) . setStripJavascriptCommentsAndWhitespace ( false ) ; } else if ( Application . DEPLOYMENT . equalsIgnoreCase ( configurationType ) ) { getResourceSettings ( ) . setResourcePollFrequency ( null ) ; getDebugSettings ( ) . setComponentUseCheck ( false ) ; getMarkupSettings ( ) . setStripWicketTags ( true ) ; getExceptionSettings ( ) . setUnexpectedExceptionDisplay ( SHOW_INTERNAL_ERROR_PAGE ) ; getDebugSettings ( ) . setAjaxDebugModeEnabled ( false ) ; getResourceSettings ( ) . setStripJavascriptCommentsAndWhitespace ( true ) ; } else { <START_BUG> throw new IllegalArgumentException ( "Invalid<seq2seq4repair_space>configuration<seq2seq4repair_space>type.<seq2seq4repair_space>Must<seq2seq4repair_space>be<seq2seq4repair_space>\"development\"<seq2seq4repair_space>or<seq2seq4repair_space>\"deployment\"." ) ; <END_BUG> } } public final void configure ( final String configurationType , final String resourceFolder ) { } public abstract String getApplicationKey ( ) { } public IApplicationSettings getApplicationSettings ( ) { } public String getConfigurationType ( ) { } public IDebugSettings getDebugSettings ( ) { } public IExceptionSettings getExceptionSettings ( ) { } public IFrameworkSettings getFrameworkSettings ( ) { } public abstract Class getHomePage ( ) { } public final MarkupCache getMarkupCache ( ) { } public IMarkupSettings getMarkupSettings ( ) { } public final Serializable getMetaData ( final MetaDataKey key ) { } public final String getName ( ) { } public IPageSettings getPageSettings ( ) { } public IRequestCycleSettings getRequestCycleSettings ( ) { } public final IRequestLogger getRequestLogger ( ) { } public IRequestLoggerSettings getRequestLoggerSettings ( ) { } public IResourceSettings getResourceSettings ( ) { } public ISecuritySettings getSecuritySettings ( ) { } public ISessionSettings getSessionSettings ( ) { } public final ISessionStore getSessionStore ( ) { } public final SharedResources getSharedResources ( ) { } public final void initializeComponents ( ) { } public void logEventTarget ( IRequestTarget target ) { } public void logResponseTarget ( IRequestTarget requestTarget ) { } public final void removeComponentInstantiationListener ( final IComponentInstantiationListener listener ) { } public final synchronized void setMetaData ( final MetaDataKey key , final Serializable object ) { } private final void addInitializer ( String className ) { } private final void callDestroyers ( ) { } private final void callInitializers ( ) { } private Settings getSettings ( ) { } private final void load ( final Properties properties ) { } protected void destroy ( ) { } protected abstract IRequestCycleFactory getRequestCycleFactory ( ) { } protected abstract ISessionFactory getSessionFactory ( ) { } protected void init ( ) { } protected void internalDestroy ( ) { } protected void internalInit ( ) { } protected IRequestLogger newRequestLogger ( ) { } protected abstract ISessionStore newSessionStore ( ) { } final void notifyComponentInstantiationListeners ( final Component component ) { } }

Fix:
throw new IllegalArgumentException ( ( ( "Invalid<seq2seq4repair_space>configuration<seq2seq4repair_space>type:<seq2seq4repair_space>'" + configurationType ) + "\'.<seq2seq4repair_space>Must<seq2seq4repair_space>be<seq2seq4repair_space>\"development\"<seq2seq4repair_space>or<seq2seq4repair_space>\"deployment\"." ) ) ;