Skip to content

Commit f611214

Browse files
committed
fix Scala/Java conversion to avoid ambiguous code.
1 parent e7659e5 commit f611214

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/org/sosy_lab/java_smt/solvers/princess/PrincessEnvironment.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
package org.sosy_lab.java_smt.solvers.princess;
1010

1111
import static scala.collection.JavaConverters.asJava;
12-
import static scala.collection.JavaConverters.asScala;
1312
import static scala.collection.JavaConverters.collectionAsScalaIterableConverter;
1413

1514
import ap.api.SimpleAPI;
@@ -76,6 +75,7 @@
7675
import scala.Tuple2;
7776
import scala.Tuple4;
7877
import scala.collection.immutable.Seq;
78+
import scala.collection.immutable.Set$;
7979

8080
/**
8181
* This is a Wrapper around Princess. This Wrapper allows to set a logfile for all Smt-Queries
@@ -216,7 +216,7 @@ private SimpleAPI getNewApi(boolean constructProofs) {
216216
SimpleAPI.apply$default$8(), // tightFunctionScopes
217217
SimpleAPI.apply$default$9(), // genTotalityAxioms
218218
new scala.Some<>(randomSeed), // randomSeed
219-
asScala(ImmutableSet.of()).toSet() // empty Set<LOG_FLAG>, no internal logging
219+
Set$.MODULE$.empty() // empty Set<LOG_FLAG>, no internal logging
220220
);
221221

222222
if (constructProofs) { // needed for interpolation and unsat cores

0 commit comments

Comments
 (0)