diff --git a/src/main/java/com/powsybl/openloadflow/knitro/solver/KnitroSolver.java b/src/main/java/com/powsybl/openloadflow/knitro/solver/KnitroSolver.java index f0f5a59..680b853 100644 --- a/src/main/java/com/powsybl/openloadflow/knitro/solver/KnitroSolver.java +++ b/src/main/java/com/powsybl/openloadflow/knitro/solver/KnitroSolver.java @@ -538,7 +538,7 @@ private void setSolverParameters(KNSolver solver) throws KNException { /** * Temporary to workaround Knitro finalization issue - FIXME on Knitro v14.2 release which will have the proper fix */ - @SuppressWarnings({"java:S1113", "java:S5738"}) + @SuppressWarnings({"java:S1113", "java:S1874", "java:S5738"}) public static class FinalizeSafeSolver extends KNSolver implements AutoCloseable { public FinalizeSafeSolver(KNBaseProblem problem) throws KNException {