We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36ef64a commit 3018106Copy full SHA for 3018106
src/main/java/com/thealgorithms/matrix/Search2DMatrix.java
@@ -4,9 +4,9 @@
4
* Search a 2D Matrix.
5
* Reference: https://leetcode.com/problems/search-a-2d-matrix/
6
*/
7
-public class Search2DMatrix {
+public final class Search2DMatrix {
8
9
- // Private constructor to satisfy Checkstyle utility class rule
+ // Private constructor for utility class
10
private Search2DMatrix() {
11
throw new UnsupportedOperationException("Utility class");
12
}
0 commit comments