diff --git a/src/main/java/spoon/metamodel/Metamodel.java b/src/main/java/spoon/metamodel/Metamodel.java index 6bc629d4b71..44e163887ea 100644 --- a/src/main/java/spoon/metamodel/Metamodel.java +++ b/src/main/java/spoon/metamodel/Metamodel.java @@ -400,9 +400,8 @@ private static Factory createFactory(File spoonJavaSourcesDirectory) { "spoon/reflect/reference", "spoon/support/reflect/declaration", "spoon/support/reflect/code", - "spoon/support/reflect/reference").forEach(path -> { - launcher.addInputResource(new FileSystemFolder(new File(spoonJavaSourcesDirectory, path))); - }); + "spoon/support/reflect/reference").forEach(path -> + launcher.addInputResource(new FileSystemFolder(new File(spoonJavaSourcesDirectory, path)))); launcher.buildModel(); return launcher.getFactory(); }