We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1aec66f commit 001e441Copy full SHA for 001e441
src/main/java/com/thealgorithms/datastructures/graphs/TwoSat.java
@@ -90,7 +90,7 @@ class TwoSat {
90
* @param numberOfVariables the number of boolean variables
91
* @throws IllegalArgumentException if the number of variables is negative
92
*/
93
- @SuppressWarnings("unchecked")
+ @SuppressWarnings({"unchecked", "rawtypes"})
94
public TwoSat(int numberOfVariables) {
95
if (numberOfVariables < 0) {
96
throw new IllegalArgumentException("Number of variables cannot be negative.");
0 commit comments