Skip to content

Commit 2d11622

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

File tree

2 files changed

+2
-3
lines changed

2 files changed

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

@@ -89,5 +88,5 @@ void testEmptyStringByArray() {
8988
@Test
9089
void testEmptyStringByLength() {
9190
assertEquals(true, Isogram.isIsogramByLength(""));
92-
}
91+
}
9392
}

0 commit comments

Comments
 (0)