diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 186519c..4e9c26f 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,9 +4,7 @@
-
-
-
+
@@ -41,29 +39,29 @@
- {
+ "keyToString": {
+ "RunOnceActivity.OpenProjectViewOnStart": "true",
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "SONARLINT_PRECOMMIT_ANALYSIS": "true",
+ "com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrary": "JUnit5",
+ "com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrarySuperClass.JUnit5": "",
+ "full.screen.before.presentation.mode": "false",
+ "last_opened_file_path": "C:/Users/divya/Exercism/java/need-for-speed",
+ "project.structure.last.edited": "Project",
+ "project.structure.proportion": "0.15",
+ "project.structure.side.proportion": "0.0",
+ "settings.editor.selected.configurable": "preferences.pluginManager"
},
- "keyToStringList": {
- "DatabaseDriversLRU": [
- "mysql"
+ "keyToStringList": {
+ "DatabaseDriversLRU": [
+ "mysql"
],
- "com.intellij.ide.scratch.ScratchImplUtil$2/New Scratch File": [
- "Markdown"
+ "com.intellij.ide.scratch.ScratchImplUtil$2/New Scratch File": [
+ "Markdown"
]
}
-}]]>
+}
@@ -166,7 +164,7 @@
-
+
1652464516513
@@ -301,7 +299,14 @@
1652819174296
-
+
+ 1652819472258
+
+
+
+ 1652819472258
+
+
@@ -336,7 +341,8 @@
-
+
+
diff --git a/README.md b/README.md
index 0b7ed94..454aed7 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-[](https://github.com/dbc2201/JavaCodingProblem1/actions/workflows/maven.yml) [](https://github.com/dbc2201/JavaCodingProblem1/actions/workflows/super-linter.yml)
+[](https://github.com/dbc2201/JavaCodingProblem1/actions/workflows/maven.yml)
# Java Coding Problems
## Chapter 1: Strings, Numbers, and Math
diff --git a/src/main/java/io/github/dbc/DuplicateCharactersCounter.java b/src/main/java/io/github/dbc/DuplicateCharactersCounter.java
index 9020649..49cee5a 100644
--- a/src/main/java/io/github/dbc/DuplicateCharactersCounter.java
+++ b/src/main/java/io/github/dbc/DuplicateCharactersCounter.java
@@ -8,6 +8,7 @@ public class DuplicateCharactersCounter {
*
* @param string String to count duplicate characters.
* @return Map with characters and their count.
+ * @throws IllegalArgumentException if the input is null or empty.
*/
public Map countDuplicateCharacters(String string) {
return Map.of();