Skip to content

Commit f3abaf9

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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +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+
2425
// Edge cases
2526
new IsogramTestCase("", true), new IsogramTestCase("a", true), new IsogramTestCase("ab", true), new IsogramTestCase("abc", true), new IsogramTestCase("aa", false), new IsogramTestCase("abcdefghijklmnopqrstuvwxyz", true),
2627

@@ -44,7 +45,6 @@ private static Stream<IsogramTestCase> isogramLengthTestData() {
4445
// Case insensitive
4546
new IsogramTestCase("Python", true), new IsogramTestCase("BACKGROUND", true), new IsogramTestCase("Hello", false), new IsogramTestCase("PROGRAMMING", false),
4647

47-
4848
// Strings with symbols and numbers
4949
new IsogramTestCase("abc@def", true), // all characters unique
5050
new IsogramTestCase("test-case", false), // 't', 's', 'e' repeat

0 commit comments

Comments
 (0)