docs: fix typo

This commit is contained in:
Anthony Berg 2024-10-17 17:38:47 +02:00
parent 5fffaa6e45
commit 175f6edb30

View File

@ -29,9 +29,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
* @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) {
// Create a map of all email address domains and counting them