Buggy code:
public final class ApplicationSettings { public static final ApplicationSettings . UnexpectedExceptionDisplay SHOW_EXCEPTION_PAGE = new ApplicationSettings . UnexpectedExceptionDisplay ( "SHOW_EXCEPTION_PAGE" ) ; public static final ApplicationSettings . UnexpectedExceptionDisplay SHOW_INTERNAL_ERROR_PAGE = new ApplicationSettings . UnexpectedExceptionDisplay ( "SHOW_INTERNAL_ERROR_PAGE" ) ; public static final ApplicationSettings . UnexpectedExceptionDisplay SHOW_NO_EXCEPTION_PAGE = new ApplicationSettings . UnexpectedExceptionDisplay ( "SHOW_NO_EXCEPTION_PAGE" ) ; private static final Log log = LogFactory . getLog ( ApplicationSettings . class ) ; private Application application ; private boolean automaticLinking = false ; private boolean bufferResponse = true ; private String wicketNamespace = ComponentTag . DEFAULT_WICKET_NAMESPACE ; private boolean componentUseCheck = true ; private boolean compressWhitespace = false ; private CookieValuePersisterSettings cookieValuePersisterSettings = new CookieValuePersisterSettings ( ) ; private Class cryptClass = SunJceCrypt . class ; private String defaultAfterDisabledLink = "<//i>" ; private String defaultBeforeDisabledLink = "<i>" ; private IClassResolver defaultClassResolver = new DefaultClassResolver ( ) ; private Locale defaultLocale = Locale . getDefault ( ) ; private IPageFactory defaultPageFactory = new DefaultPageFactory ( ) ; private String encryptionKey = "WiCkEt-FRAMEwork" ; private int maxPageVersions = 10 ; private int maxPages = 10 ; private boolean overriddenStringResourceLoaders = false ; private Duration resourcePollFrequency = null ; private Path resourcePath = new Path ( ) ; private List stringResourceLoaders = new ArrayList ( 2 ) ; private boolean stripComments = false ; private boolean stripWicketTags = false ; private boolean throwExceptionOnMissingResource = true ; private ApplicationSettings . UnexpectedExceptionDisplay unexpectedExceptionDisplay = ApplicationSettings . SHOW_EXCEPTION_PAGE ; private boolean useDefaultOnMissingResource = true ; private boolean versionPagesByDefault = true ; public static final class UnexpectedExceptionDisplay extends EnumeratedType { UnexpectedExceptionDisplay ( final String name ) { } } public ApplicationSettings ( final Application application ) { } public final ApplicationSettings addStringResourceLoader ( final IStringResourceLoader loader ) { } public final void configure ( final String configurationType ) { } public final void configure ( final String configurationType , final String sourceFolder ) { if ( "development" . equalsIgnoreCase ( configurationType ) ) { if ( sourceFolder != null ) { final Folder folder = new Folder ( sourceFolder ) ; if ( folder . exists ( ) ) { setResourcePath ( new Path ( folder ) ) ; } else { <START_BUG> ApplicationSettings . log . warn ( ( ( "Source<seq2seq4repair_space>folder<seq2seq4repair_space>" + sourceFolder ) + "<seq2seq4repair_space>does<seq2seq4repair_space>not<seq2seq4repair_space>exist." ) ) ; <END_BUG> } setResourcePollFrequency ( ONE_SECOND ) ; } setComponentUseCheck ( true ) ; setStripWicketTags ( false ) ; } else if ( "deployment" . equalsIgnoreCase ( configurationType ) ) { setComponentUseCheck ( false ) ; setStripWicketTags ( true ) ; } else { 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\"." ) ; } } public final boolean getAutomaticLinking ( ) { } public final boolean getBufferResponse ( ) { } public final String getWicketNamespace ( ) { } public final boolean getComponentUseCheck ( ) { } public final boolean getCompressWhitespace ( ) { } public final CookieValuePersisterSettings getCookieValuePersisterSettings ( ) { } public final Class getCryptClass ( ) { } public final String getDefaultAfterDisabledLink ( ) { } public final String getDefaultBeforeDisabledLink ( ) { } public final IClassResolver getDefaultClassResolver ( ) { } public final Locale getDefaultLocale ( ) { } public final IPageFactory getDefaultPageFactory ( ) { } public final String getEncryptionKey ( ) { } public final int getMaxPageVersions ( ) { } public final int getMaxPages ( ) { } public final Duration getResourcePollFrequency ( ) { } public final Path getResourcePath ( ) { } public final boolean getStripComments ( ) { } public final boolean getStripWicketTags ( ) { } public final boolean getThrowExceptionOnMissingResource ( ) { } public final ApplicationSettings . UnexpectedExceptionDisplay getUnexpectedExceptionDisplay ( ) { } public final boolean getUseDefaultOnMissingResource ( ) { } public final boolean getVersionPagesByDefault ( ) { } public final void setAutomaticLinking ( boolean automaticLinking ) { } public final void setBufferResponse ( boolean bufferResponse ) { } public final ApplicationSettings setWicketNamespace ( final String namespace ) { } public final ApplicationSettings setComponentUseCheck ( final boolean componentUseCheck ) { } public final ApplicationSettings setCompressWhitespace ( final boolean compressWhitespace ) { } public final void setCookieValuePersisterSettings ( CookieValuePersisterSettings cookieValuePersisterSettings ) { } public final ApplicationSettings setCryptClass ( Class crypt ) { } public final ApplicationSettings setDefaultAfterDisabledLink ( final String defaultAfterDisabledLink ) { } public final ApplicationSettings setDefaultBeforeDisabledLink ( String defaultBeforeDisabledLink ) { } public final ApplicationSettings setDefaultClassResolver ( final IClassResolver defaultClassResolver ) { } public final void setDefaultLocale ( Locale defaultLocale ) { } public final ApplicationSettings setDefaultPageFactory ( final IPageFactory defaultPageFactory ) { } public final ApplicationSettings setEncryptionKey ( String encryptionKey ) { } public final void setMaxPageVersions ( int maxPageVersions ) { } public final ApplicationSettings setMaxPages ( final int maxPages ) { } public final ApplicationSettings setResourcePollFrequency ( final Duration resourcePollFrequency ) { } public final ApplicationSettings setResourcePath ( final Path resourcePath ) { } public final ApplicationSettings setStripComments ( boolean stripComments ) { } public final ApplicationSettings setStripWicketTags ( boolean stripWicketTags ) { } public final ApplicationSettings setThrowExceptionOnMissingResource ( final boolean throwExceptionOnMissingResource ) { } public final ApplicationSettings setUnexpectedExceptionDisplay ( final ApplicationSettings . UnexpectedExceptionDisplay unexpectedExceptionDisplay ) { } public final ApplicationSettings setUseDefaultOnMissingResource ( final boolean useDefaultOnMissingResource ) { } public final void setVersionPagesByDefault ( boolean pagesVersionedByDefault ) { } final List getStringResourceLoaders ( ) { } }

Fix:
ApplicationSettings . log . warn ( ( ( "Source<seq2seq4repair_space>folder<seq2seq4repair_space>" + ( folder . getAbsolutePath ( ) ) ) + "<seq2seq4repair_space>does<seq2seq4repair_space>not<seq2seq4repair_space>exist." ) ) ;