Skip to content

Commit 001e441

Browse files
committed
maven build fix: added rawtypes in SuppressWarnings
1 parent 1aec66f commit 001e441

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/thealgorithms/datastructures/graphs

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/datastructures/graphs/TwoSat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class TwoSat {
9090
* @param numberOfVariables the number of boolean variables
9191
* @throws IllegalArgumentException if the number of variables is negative
9292
*/
93-
@SuppressWarnings("unchecked")
93+
@SuppressWarnings({"unchecked", "rawtypes"})
9494
public TwoSat(int numberOfVariables) {
9595
if (numberOfVariables < 0) {
9696
throw new IllegalArgumentException("Number of variables cannot be negative.");

0 commit comments

Comments
 (0)