From 6f12dd7c39c280e149a08a16dba71c33fcc37c40 Mon Sep 17 00:00:00 2001 From: Laurent Perron Date: Mon, 19 Dec 2022 14:33:14 +0100 Subject: [PATCH] fix --- ortools/sat/java/CpSolverTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ortools/sat/java/CpSolverTest.java b/ortools/sat/java/CpSolverTest.java index f804134262..2011873511 100644 --- a/ortools/sat/java/CpSolverTest.java +++ b/ortools/sat/java/CpSolverTest.java @@ -297,7 +297,7 @@ public final class CpSolverTest { final IntVar var2 = model.newIntVar(0, 1, "CONTROLLABLE__C1[1]"); capacityConstraint(model, new IntVar[] {var1, var2}, new long[] {0L, 1L}, new long[][] {new long[] {1L, 1L}}, new long[][] {new long[] {1L, 1L}}); - var unused = model.exportToFile("/tmp/issue3108.pb.txt"); + boolean unused = model.exportToFile("/tmp/issue3108.pb.txt"); final CpSolver solver = new CpSolver(); solver.getParameters().setLogSearchProgress(true); solver.getParameters().setCpModelProbingLevel(0);