From ed78aaf9b3dcb6d9f918c395412e0c4bcadb4dd5 Mon Sep 17 00:00:00 2001 From: Damien Jeandemange Date: Mon, 16 Dec 2024 08:56:03 +0100 Subject: [PATCH] clean Signed-off-by: Damien Jeandemange --- .../com/powsybl/openloadflow/knitro/solver/KnitroSolver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {