public CleanUpFixpointIterator(CleanUpTarget[] targets, ICleanUp[] cleanUps) { fSolutions= new Hashtable<>(targets.length); fWorkingCopies= new Hashtable<>(); fParseList= new ArrayList<>(targets.length); for (int i= 0; i < targets.length; i++) { fParseList.add(new ParseListElement(targets[i], cleanUps)); } fCleanUpOptions= new Hashtable<>(); for (int i= 0; i < cleanUps.length; i++) { ICleanUp cleanUp= cleanUps[i]; Map<String, String> currentCleanUpOption= cleanUp.getRequirements().getCompilerOptions(); if (currentCleanUpOption != null) fCleanUpOptions.putAll(currentCleanUpOption); } fSize= targets.length; fIndex= 1; }
public CleanUpFixpointIterator(CleanUpTarget[] targets, ICleanUp[] cleanUps) { fSolutions= new Hashtable<>(targets.length); fWorkingCopies= new Hashtable<>(); fParseList= new ArrayList<>(targets.length); for (int i= 0; i < targets.length; i++) { fParseList.add(new ParseListElement(targets[i], cleanUps)); } fCleanUpOptions= new Hashtable<>(); for (int i= 0; i < cleanUps.length; i++) { ICleanUp cleanUp= cleanUps[i]; Map<String, String> currentCleanUpOption= cleanUp.getRequirements().getCompilerOptions(); if (currentCleanUpOption != null) fCleanUpOptions.putAll(currentCleanUpOption); } fSize= targets.length; fIndex= 1; }
Map<String, String> map= cleanUps[i].getRequirements().getCompilerOptions(); if (map != null) { options.putAll(map);
Map<String, String> map= cleanUps[i].getRequirements().getCompilerOptions(); if (map != null) { options.putAll(map);