From 8287583d88ccb7270c21f0aa5697882333ca12b0 Mon Sep 17 00:00:00 2001 From: Noah Santschi-Cooney Date: Wed, 2 Sep 2020 13:34:10 +0100 Subject: [PATCH] Made 'SpoonPom.addModule' public to facilitate adding modules that are not linked via pom.xml to the model --- src/main/java/spoon/support/compiler/SpoonPom.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/spoon/support/compiler/SpoonPom.java b/src/main/java/spoon/support/compiler/SpoonPom.java index 1b7693c65a1..7b35617f34e 100644 --- a/src/main/java/spoon/support/compiler/SpoonPom.java +++ b/src/main/java/spoon/support/compiler/SpoonPom.java @@ -133,7 +133,7 @@ public SpoonPom(String path, SpoonPom parent, MavenLauncher.SOURCE_TYPE sourceTy } } - private void addModule(SpoonPom module) { + public void addModule(SpoonPom module) { modules.add(module); }