From 5a8e0b304a6d840f04c216c5d16a0fc6e68abd42 Mon Sep 17 00:00:00 2001 From: ava Date: Thu, 14 May 2026 15:52:28 +0330 Subject: [PATCH] coding main file. --- src/main/java/Main.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/Main.java b/src/main/java/Main.java index 98f3bb2..6b5b7f8 100644 --- a/src/main/java/Main.java +++ b/src/main/java/Main.java @@ -8,7 +8,7 @@ public class Main { try { // Instantiate the parser Parser parser = new Parser(filePath); - + // TODO: You can test your code here before you run the unit tests. // Example: Call your sorting methods, iterate through the returned list, // and print out the movies to see if they match the expected results in the Help folder. @@ -26,9 +26,9 @@ public class Main { for (Movie movie : parser.sortByYear()) { System.out.println(movie); } - + System.out.println("Movies parsed successfully! Total movies: " + parser.sortByTitle().size()); - + } catch (IOException e) { System.err.println("Error reading or parsing the HTML file: " + e.getMessage()); }