made foreach over map not entry set
This commit is contained in:
parent
c7f91724a6
commit
cb28405fe1
@ -36,7 +36,7 @@ public class TestInferWildcardsJavaTx
|
||||
System.out.println("\nReplacements:");
|
||||
Map<File, SourceFile> sourceFiles = javaTXCompiler.getSourceFiles();
|
||||
ReplaceTypeparamVisitor visitor = new ReplaceTypeparamVisitor();
|
||||
sourceFiles.entrySet().forEach(e -> e.getValue().accept(visitor));
|
||||
sourceFiles.forEach( (k, v) -> v.accept(visitor));
|
||||
return visitor;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user