Skip to content

Commit 3b569d6

Browse files
committed
fix: declare TrappingRainwater as final to pass Checkstyle
1 parent 6d42fda commit 3b569d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/searches/TrappingRainwater.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*
1414
* Reference: https://en.wikipedia.org/wiki/Trapping_rain_water
1515
*/
16-
public class TrappingRainwater {
16+
public final class TrappingRainwater {
1717

1818
private TrappingRainwater() {
1919
throw new UnsupportedOperationException("Utility class");

0 commit comments

Comments
 (0)