Buggy code:
public class GeonetWroModelFactory implements WroModelFactory { private static final Pattern PATH_REPLACEMENT_MATCHER = Pattern . compile ( "\\{\\{(.+?)\\}\\}" ) ; public static final String WRO_SOURCES_KEY = "wroSources" ; public static final String JS_SOURCE_EL = "jsSource" ; public static final String INCLUDE_EL = "include" ; public static final String FILE_ATT = "file" ; public static final String FILE_EL = "file" ; public static final String DECLARATIVE_EL = "declarative" ; public static final String DECLARATIVE_NAME_ATT = "name" ; public static final String MINIMIZED_ATT = "minimize" ; public static final String REQUIRE_EL = "require" ; public static final String CSS_SOURCE_EL = "cssSource" ; public static final String WEBAPP_ATT = "webappPath" ; public static final String PATH_ON_DISK_ATT = "pathOnDisk" ; public static final String CLASSPATH_PREFIX = "classpath:" ; private static final String NOT_MINIMIZED_EL = "notMinimized" ; public static final String GROUP_NAME_CLOSURE_DEPS = "closure_deps" ; public static final String TEMPLATE_PATTERN = "directive.js" ; @ Inject private ReadOnlyContext _context ; private Collection < Throwable > errors = Lists . newArrayList ( ) ; private String _geonetworkRootDirectory = "" ; @ Override public void destroy ( ) { } @ Override public WroModel create ( ) { } static String findGeonetworkRootDirectory ( String sourcesXmlFile ) { } private WroModel createModel ( String parentSourcesXmlFile , InputStream sourcesXmlFile ) throws IOException , ParserConfigurationException , SAXException { } public void setContext ( ReadOnlyContext context ) { } public void setGeonetworkRootDirectory ( String geonetworkRootDirectory ) { } private static class IncludesStream { final InputStream stream ; final String locationLoadedFrom ; private IncludesStream ( InputStream stream , String locationLoadedFrom ) { } } private Collection < GeonetWroModelFactory . IncludesStream > openIncludesStream ( String parentSourcesXmlFile , String includeFile ) throws IOException { } private String toRelativePath ( String relativeToWithName ) { } private Collection < GeonetWroModelFactory . IncludesStream > loadFromClasspath ( String includeFile ) throws IOException { } private GeonetWroModelFactory . IncludesStream tryToLoadAsURL ( String includeFile ) { } private void addExplicitlyDeclarativeGroups ( Element declareEl , WroModel model ) { } private Resource createResource ( boolean isMinimized , GeonetWroModelFactory . ResourceDesc desc , ResourceType type ) { } private void loadGroupsUsingRequireDependencyManagement ( Element doc , WroModel model , Group closureDepsGroup ) throws IOException { } private String makePathReplacements ( String path ) { } private void logModel ( WroModel model ) { } private void addCssGroupsByRequireDependencies ( final WroModel model , final Map < String , Group > groups , final NodeList cssSources , String defaultPathOnDisk ) { HashSet < String > cssGroups = new HashSet < String > ( ) ; for ( int i = 0 ; i < ( cssSources . getLength ( ) ) ; i ++ ) { Node cssSource = cssSources . item ( i ) ; final Set < String > notMinimized = parseSetOfNotMinimized ( ( ( Element ) ( cssSource ) ) ) ; GeonetWroModelFactory . ResourceDesc desc = parseSource ( ( ( Element ) ( cssSource ) ) , defaultPathOnDisk ) ; final Iterable < File > css = desc . files ( "css" , "less" ) ; for ( File file : css ) { final String name = file . getName ( ) ; final String groupId = name . substring ( 0 , name . lastIndexOf ( '.' ) ) ; if ( cssGroups . contains ( groupId ) ) { <START_BUG> throw new IllegalArgumentException ( ( ( ( "There<seq2seq4repair_space>are<seq2seq4repair_space>at<seq2seq4repair_space>least<seq2seq4repair_space>two<seq2seq4repair_space>css<seq2seq4repair_space>file<seq2seq4repair_space>with<seq2seq4repair_space>the<seq2seq4repair_space>name:<seq2seq4repair_space>" + name ) + ".<seq2seq4repair_space>Each<seq2seq4repair_space>css<seq2seq4repair_space>file<seq2seq4repair_space>" ) + "must<seq2seq4repair_space>have<seq2seq4repair_space>unique<seq2seq4repair_space>names" ) ) ; <END_BUG> } cssGroups . add ( groupId ) ; final Group group ; if ( groups . containsKey ( groupId ) ) { group = groups . get ( groupId ) ; } else { group = new Group ( groupId ) ; } boolean isMinimized = true ; for ( String s : notMinimized ) { if ( file . getAbsolutePath ( ) . endsWith ( s ) ) { isMinimized = false ; break ; } } Resource resource = new Resource ( ) ; resource . setMinimize ( isMinimized ) ; resource . setType ( CSS ) ; resource . setUri ( file . toURI ( ) . toString ( ) ) ; group . addResource ( resource ) ; if ( ! ( groups . containsKey ( groupId ) ) ) { model . addGroup ( group ) ; } } } } private Map < String , Group > addJavascriptGroupsByRequireDependencies ( final WroModel model , final ClosureRequireDependencyManager dependencyManager , Group closureDepsGroup ) { } private Resource createResourceFrom ( ClosureRequireDependencyManager . Node dep ) { } private Resource getTemplateResource ( final String prefix ) { } private void addTemplateResourceFrom ( List < Resource > group , ClosureRequireDependencyManager . Node dep ) { } private ClosureRequireDependencyManager configureJavascripDependencyManager ( final NodeList jsSources , String defaultPathOnDisk ) throws IOException { } private Set < String > parseSetOfNotMinimized ( Element jsSource ) { } private GeonetWroModelFactory . ResourceDesc parseSource ( final Element sourceEl , String defaultPathOnDisk ) { } private boolean isMavenBuild ( ) { } public String getSourcesXmlFile ( ) { } protected Properties getConfigProperties ( ) { } private static class ResourceDesc { String relativePath ; String pathOnDisk ; String finalPath ; File root ; public Iterable < File > files ( final String ... extToCollect ) { } } }

Fix:
throw new IllegalArgumentException ( ( ( ( ( ( "There<seq2seq4repair_space>are<seq2seq4repair_space>at<seq2seq4repair_space>least<seq2seq4repair_space>two<seq2seq4repair_space>css<seq2seq4repair_space>file<seq2seq4repair_space>with<seq2seq4repair_space>the<seq2seq4repair_space>name:<seq2seq4repair_space>" + name ) + ".<seq2seq4repair_space>Each<seq2seq4repair_space>css<seq2seq4repair_space>file<seq2seq4repair_space>" ) + "must<seq2seq4repair_space>have<seq2seq4repair_space>unique<seq2seq4repair_space>names.<seq2seq4repair_space>Check<seq2seq4repair_space>" ) + ( file . getPath ( ) ) ) + "." ) ) ;