Skip to content

Commit 2313dc6

Browse files
author
Devansh K Shukla
committed
update the return statement
1 parent bd41612 commit 2313dc6

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

.idea/workspace.xml

Lines changed: 12 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/io/github/dbc/DuplicateCharactersCounter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ public Map<Character, Integer> countDuplicateCharacters(String string) {
2020
map.put(ch, 1);
2121
}
2222
}
23-
return Map.of();
23+
return map;
2424
}
2525
}

0 commit comments

Comments
 (0)