From 175f6edb301d4c572f3491f1460aaf8a9ca2e496 Mon Sep 17 00:00:00 2001 From: Anthony Berg Date: Thu, 17 Oct 2024 17:38:47 +0200 Subject: [PATCH] docs: fix typo --- app/src/main/java/Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/Main.java b/app/src/main/java/Main.java index 9f8bfad..bde1978 100644 --- a/app/src/main/java/Main.java +++ b/app/src/main/java/Main.java @@ -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 emails parameter + * @return A map of email domains and the total amount of times they occurred in the emails parameter */ private static Map getDomainTotal(List emails) { // Create a map of all email address domains and counting them