Merge remote-tracking branch 'origin/main'

This commit is contained in:
Anthony Berg
2024-10-17 18:25:32 +02:00

View File

@@ -30,9 +30,9 @@ public class Main {
} }
/** /**
* Totals up the amount of times an email domain occured in the list. * Totals up the amount of times an email domain occurred in the list.
* @param emails A list of emails * @param emails A list of emails
* @return A map of email domains and the total amount of times they occured in the <code>emails</code> parameter * @return A map of email domains and the total amount of times they occurred in the <code>emails</code> parameter
*/ */
private static Map<String, Integer> getDomainTotal(List<String> emails) { private static Map<String, Integer> getDomainTotal(List<String> emails) {
// Create a map of all email address domains and counting them // Create a map of all email address domains and counting them