From 9a292393c933fa089c3816578515c9e7d82c4756 Mon Sep 17 00:00:00 2001 From: Catarina Gamboa Date: Fri, 25 Apr 2025 13:42:23 +0100 Subject: [PATCH 1/2] minor fix in path of testing file given the changes in directory struture --- latte/src/main/java/api/App.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/latte/src/main/java/api/App.java b/latte/src/main/java/api/App.java index 363b41a..b1e1180 100644 --- a/latte/src/main/java/api/App.java +++ b/latte/src/main/java/api/App.java @@ -6,6 +6,7 @@ import com.google.gson.Gson; +import examples.MyStackTest; import spoon.Launcher; import spoon.processing.ProcessingManager; import spoon.reflect.cu.SourcePosition; @@ -26,11 +27,9 @@ public class App { * @param args */ public static void main( String[] args ){ - if (args.length == 0) { - System.out.println("Please enter the path to the file you want to process"); - String allPath = "latte/src/main/java/examples/MyStackTest.java"; - launcher(allPath, true); + String allPath = "src/main/java/examples/MyStackTest.java"; + launcher(allPath, false); } else if (args.length == 1 && args[0].equals("-multi")) { // Analyze multiple files from command line From 404688b2b3f9edafce0a7822c50007aa3fdd4627 Mon Sep 17 00:00:00 2001 From: Catarina Gamboa Date: Fri, 25 Apr 2025 13:44:48 +0100 Subject: [PATCH 2/2] remove import --- latte/src/main/java/api/App.java | 1 - 1 file changed, 1 deletion(-) diff --git a/latte/src/main/java/api/App.java b/latte/src/main/java/api/App.java index b1e1180..0eb1282 100644 --- a/latte/src/main/java/api/App.java +++ b/latte/src/main/java/api/App.java @@ -6,7 +6,6 @@ import com.google.gson.Gson; -import examples.MyStackTest; import spoon.Launcher; import spoon.processing.ProcessingManager; import spoon.reflect.cu.SourcePosition;