Skip to content

Commit 184c18c

Browse files
authored
Remove erroneous references to an input map (#3074)
1 parent 22105a1 commit 184c18c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/concept/international-calling-connoisseur/.docs/instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dialingCodes.setDialingCode(679, "Fiji");
3131

3232
## 3. Lookup a dialing code's country
3333

34-
Implement the `getCountry` method that takes a map of dialing codes and a dialing code and returns the country name with the dialing code.
34+
Implement the `getCountry` method that takes a dialing code and returns the country name with the dialing code.
3535

3636
```java
3737
DialingCodes dialingCodes = new DialingCodes();
@@ -63,7 +63,7 @@ dialingCodes.addNewDialingCode(39, "Vatican City");
6363

6464
Its rare, but mistakes can be made.
6565
To correct the mistake, we will need to know what dialing code the country is currently mapped to.
66-
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.
66+
To find which dialing code needs to be corrected, implement the `findDialingCode` method that takes a country and returns the country's dialing code.
6767
Return `null` if the country is _not_ in the map.
6868

6969
```java

0 commit comments

Comments
 (0)