Skip to content

Commit 70df2ef

Browse files
checking lint issue
Signed-off-by: JeevaRamanathan <jeevaramanathan.m@infosys.com>
1 parent f3abaf9 commit 70df2ef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/com/thealgorithms/strings/Isogram.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ public static boolean isIsogramByLength(String str) {
8080
}
8181
return uniqueChars.size() == str.length();
8282
}
83-
}
83+
}

src/test/java/com/thealgorithms/strings/IsogramTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ private static Stream<IsogramTestCase> isogramArrayTestData() {
2121
// Not isograms - letters repeat
2222
new IsogramTestCase("hello", false), new IsogramTestCase("programming", false), new IsogramTestCase("java", false), new IsogramTestCase("coffee", false), new IsogramTestCase("book", false), new IsogramTestCase("letter", false), new IsogramTestCase("mississippi", false),
2323
new IsogramTestCase("google", false),
24-
24+
2525
// Edge cases
2626
new IsogramTestCase("", true), new IsogramTestCase("a", true), new IsogramTestCase("ab", true), new IsogramTestCase("abc", true), new IsogramTestCase("aa", false), new IsogramTestCase("abcdefghijklmnopqrstuvwxyz", true),
2727

@@ -38,7 +38,7 @@ private static Stream<IsogramTestCase> isogramLengthTestData() {
3838
// Not isograms - characters repeat
3939
new IsogramTestCase("hello", false), new IsogramTestCase("programming", false), new IsogramTestCase("java", false), new IsogramTestCase("coffee", false), new IsogramTestCase("book", false), new IsogramTestCase("letter", false), new IsogramTestCase("mississippi", false),
4040
new IsogramTestCase("google", false),
41-
41+
4242
// Edge cases
4343
new IsogramTestCase("", true), new IsogramTestCase("a", true), new IsogramTestCase("ab", true), new IsogramTestCase("abc", true), new IsogramTestCase("aa", false), new IsogramTestCase("abcdefghijklmnopqrstuvwxyz", true),
4444

0 commit comments

Comments
 (0)