From 221cfdb8f04f091e01998b3e91237d3cdac3e717 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 8e05e76b742..d371cf502ba 100644 --- a/src/main/java/spoon/support/compiler/SpoonPom.java +++ b/src/main/java/spoon/support/compiler/SpoonPom.java @@ -99,7 +99,7 @@ public SpoonPom(String path, SpoonPom parent, MavenLauncher.SOURCE_TYPE sourceTy } } - private void addModule(SpoonPom module) { + public void addModule(SpoonPom module) { modules.add(module); }