Buggy code:
public class SourceParser { private final Logger logger ; private final IniFile ini ; private final Definitions definitions ; private final String srcDir ; private final String dstDir ; private final String sndBoxDir ; private final String imgDir ; private final String termDir ; public String dtDir ; private final String rootDir ; private final BindingNameRegistry registry ; private final String version ; private final WorkerContext context ; private final Calendar genDate ; private final Map < String , StructureDefinition > extensionDefinitions ; private final PageProcessor page ; public SourceParser ( Logger logger , String root , Definitions definitions , boolean forPublication , String version , WorkerContext context , Calendar genDate , Map < String , StructureDefinition > extensionDefinitions , PageProcessor page ) { } private Definitions eCoreParseResults = null ; public Definitions getECoreParseResults ( ) { } private List < BindingDefn > sortBindings ( List < BindingDefn > unsorted ) { } @ SuppressWarnings ( "unchecked" ) private List < TypeDefn > sortTypes ( List unsorted ) { } public void parse ( Calendar genDate ) throws Exception { } private void loadIg ( ImplementationGuide ig ) throws Exception { } private void buildSpecialValues ( ) throws Exception { } private void loadDictionaries ( ) { } private void loadIgs ( ) throws Exception { DocumentBuilderFactory factory = DocumentBuilderFactory . newInstance ( ) ; factory . setNamespaceAware ( true ) ; DocumentBuilder builder = factory . newDocumentBuilder ( ) ; Document xdoc = builder . parse ( new CSFileInputStream ( ( ( srcDir ) + "igs.xml" ) ) ) ; Element root = xdoc . getDocumentElement ( ) ; if ( root . getNodeName ( ) . equals ( "igs" ) ) { Element ig = XMLUtil . getFirstChild ( root ) ; while ( ig != null ) { if ( ig . getNodeName ( ) . equals ( "ig" ) ) { <START_BUG> ImplementationGuide igg = new ImplementationGuide ( ig . getAttribute ( "code" ) , ig . getAttribute ( "name" ) , ig . getAttribute ( "page" ) , ig . getAttribute ( "source" ) , "1" . equals ( ig . getAttribute ( "review" ) ) ) ; <END_BUG> definitions . getIgs ( ) . put ( igg . getCode ( ) , igg ) ; definitions . getSortedIgs ( ) . add ( igg ) ; } ig = XMLUtil . getNextSibling ( ig ) ; } } } private void loadTypePages ( ) { } private void loadW5s ( ) { } private void loadTLAs ( ) throws Exception { } private void loadWorkGroups ( ) { } private void loadMappingSpaces ( ) throws Exception { } private void loadStatusCodes ( ) throws FileNotFoundException , Exception { } private void loadCompartments ( ) throws FileNotFoundException , Exception { } private void loadValueSet ( String n ) throws FileNotFoundException , Exception { } private void fixTypeRefs ( org . hl7 . fhir . definitions . ecore . fhir . Definitions defs ) { } private void loadConformancePackages ( String n ) throws Exception { } private void parseConformanceDocument ( Profile pack , String n , File file , String usage ) throws Exception { } private void loadConformancePackage ( Profile ap ) throws FileNotFoundException , IOException , Exception { } private void loadGlobalBindings ( ) throws Exception { } private void loadPrimitives ( ) throws Exception { } private void processImport ( Sheet sheet , int row ) throws Exception { } private void processStringPattern ( Sheet sheet , int row ) throws Exception { } private void genTypeProfile ( org . hl7 . fhir . definitions . model . TypeDefn t ) throws Exception { } private String loadCompositeType ( String n , Map < String , org . hl7 . fhir . definitions . model . TypeDefn > map ) throws Exception { } private ResourceDefn loadResource ( String n , Map < String , ResourceDefn > map , boolean isAbstract ) throws Exception { } private void processEvent ( EventDefn defn , ElementDefn root ) throws Exception { } public boolean checkFile ( String purpose , String dir , String file , List < String > errors , String category ) throws IOException { } private Map < String , Long > dates ; private ValueSetGenerator vsGen ; public void checkConditions ( List < String > errors , Map < String , Long > dates ) throws Exception { } public BindingNameRegistry getRegistry ( ) { } }

Fix:
ImplementationGuide igg = new ImplementationGuide ( ig . getAttribute ( "code" ) , ig . getAttribute ( "name" ) , ig . getAttribute ( "page" ) , ig . getAttribute ( "source" ) . replace ( '\\' , File . separatorChar ) , "1" . equals ( ig . getAttribute ( "review" ) ) ) ;