Polishing

- primarily automated "clean up" using Eclipse IDE
This commit is contained in:
Sam Brannen
2022-12-09 00:53:54 -05:00
parent 52af5c2b38
commit 69f47e7700
12 changed files with 18 additions and 21 deletions

View File

@@ -56,8 +56,7 @@ public final class CompilerFiles implements UnaryOperator<TestCompiler> {
return testCompiler
.withSources(adapt(Kind.SOURCE, (path, inputStreamSource) ->
SourceFile.of(inputStreamSource)))
.withResources(adapt(Kind.RESOURCE, (path, inputStreamSource) ->
ResourceFile.of(path, inputStreamSource)))
.withResources(adapt(Kind.RESOURCE, ResourceFile::of))
.withClasses(adapt(Kind.CLASS, (path, inputStreamSource) ->
ClassFile.of(ClassFile.toClassName(path), inputStreamSource)));
}