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 ) { } public boolean getAutomaticLinking ( ) { } public 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 Locale getDefaultLocale ( ) { } public final IPageFactory getDefaultPageFactory ( ) { } public final String getEncryptionKey ( ) { } public 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 boolean getVersionPagesByDefault ( ) { } public void setAutomaticLinking ( boolean automaticLinking ) { } public 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 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 void setDefaultLocale ( Locale defaultLocale ) { } public final ApplicationSettings setDefaultPageFactory ( final IPageFactory defaultPageFactory ) { } public final ApplicationSettings setEncryptionKey ( String encryptionKey ) { } public void setMaxPageVersions ( int maxPageVersions ) { if ( maxPageVersions < 0 ) { <START_BUG> throw new IllegalArgumentException ( "Value<seq2seq4repair_space>for<seq2seq4repair_space>maxPages<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>>=<seq2seq4repair_space>0" ) ; <END_BUG> } this . maxPageVersions = 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 void setVersionPagesByDefault ( boolean pagesVersionedByDefault ) { } List getStringResourceLoaders ( ) { } }

Fix:
throw new IllegalArgumentException ( "Value<seq2seq4repair_space>for<seq2seq4repair_space>maxPageVersions<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>>=<seq2seq4repair_space>0" ) ;