From 3a0008a198c64522c5dcdbd9a6b0a39694d05949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20B=20Nagy?= <20251272+BNAndras@users.noreply.github.com> Date: Mon, 5 Jan 2026 13:30:49 -0800 Subject: [PATCH] Remove erroneous references to an input map --- .../international-calling-connoisseur/.docs/instructions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/concept/international-calling-connoisseur/.docs/instructions.md b/exercises/concept/international-calling-connoisseur/.docs/instructions.md index e8f728f0f..106844176 100644 --- a/exercises/concept/international-calling-connoisseur/.docs/instructions.md +++ b/exercises/concept/international-calling-connoisseur/.docs/instructions.md @@ -31,7 +31,7 @@ dialingCodes.setDialingCode(679, "Fiji"); ## 3. Lookup a dialing code's country -Implement the `getCountry` method that takes a map of dialing codes and a dialing code and returns the country name with the dialing code. +Implement the `getCountry` method that takes a dialing code and returns the country name with the dialing code. ```java DialingCodes dialingCodes = new DialingCodes(); @@ -63,7 +63,7 @@ dialingCodes.addNewDialingCode(39, "Vatican City"); Its rare, but mistakes can be made. To correct the mistake, we will need to know what dialing code the country is currently mapped to. -To find which dialing code needs to be corrected, implement the `findDialingCode` method that takes in a map of dialing codes and a country and returns the country's dialing code. +To find which dialing code needs to be corrected, implement the `findDialingCode` method that takes a country and returns the country's dialing code. Return `null` if the country is _not_ in the map. ```java