From 63bf5309107cfc08e86dc44ff6d5d41b3b9a2d3f Mon Sep 17 00:00:00 2001 From: kevin0110w Date: Wed, 18 Mar 2020 21:51:54 +0000 Subject: [PATCH] correcting some minor issues --- data/part-8/4-grouping-data-using-hash-maps.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/part-8/4-grouping-data-using-hash-maps.md b/data/part-8/4-grouping-data-using-hash-maps.md index 5379f5cac..092aed69b 100644 --- a/data/part-8/4-grouping-data-using-hash-maps.md +++ b/data/part-8/4-grouping-data-using-hash-maps.md @@ -166,7 +166,7 @@ public class TaskTracker { this.completedExercises = new HashMap<>(); } - public void lisaa(String user, int exercise) { + public void add(String user, int exercise) { // an empty list has to be added for a new user if one has not already been added this.completedExercises.putIfAbsent(user, new ArrayList<>()); @@ -230,7 +230,7 @@ Ada: [3, 4, 3, 3] -Your assignment is to create the class `DictionaryOfManyTranslations". In it can be stored one or more translations for each word. The class is to implement the following methods: +Your assignment is to create the class `DictionaryOfManyTranslations`. In it can be stored one or more translations for each word. The class is to implement the following methods: @@ -420,7 +420,7 @@ facility.add("g63", "pi"); facility.remove("f156", "rollerblades"); -System.out.println(kellari.contents("f156")); +System.out.println(facility.contents("f156")); facility.remove("f156", "rollerblades");