Skip to content

Commit f565a94

Browse files
committed
fix: resolve checkstyle issues - add newlines and remove trailing spaces
1 parent aa11e00 commit f565a94

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/com/thealgorithms/dynamicprogramming/RegularExpressionMatching.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ private boolean dp(final int i, final int j, final String s, final String p, fin
4141
memo[i][j] = ans;
4242
return ans;
4343
}
44-
}
44+
}

src/test/java/com/thealgorithms/dynamicprogramming/RegularExpressionMatchingTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class RegularExpressionMatchingTest {
1212
@Test
1313
public void testBasicCases() {
1414
final RegularExpressionMatching matcher = new RegularExpressionMatching();
15-
15+
1616
// Test cases from the problem
1717
assertFalse(matcher.isMatch("aa", "a"));
1818
assertTrue(matcher.isMatch("aa", "a*"));
@@ -25,4 +25,4 @@ public void testBasicCases() {
2525
assertTrue(matcher.isMatch("", ""));
2626
assertFalse(matcher.isMatch("abcd", "d*"));
2727
}
28-
}
28+
}

0 commit comments

Comments
 (0)