summaryrefslogtreecommitdiff
path: root/examples/api/java/HelloWorld.java
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2020-03-31 18:12:16 -0700
committerGitHub <noreply@github.com>2020-03-31 18:12:16 -0700
commitcfeaf40ed6a9d4d7fec925352e30d2470a1ca567 (patch)
treee69411603787d99cea12d729ec0a0a2ae8889f20 /examples/api/java/HelloWorld.java
parent186b3872a3de454d0f30224dc2e0a396163c3fdc (diff)
Rename checkValid/query to checkEntailed. (#4191)
This renames api::Solver::checkValidAssuming to checkEntailed and removes api::Solver::checkValid. Internally, SmtEngine::query is renamed to SmtEngine::checkEntailed, and these changes are further propagated to the Result class.
Diffstat (limited to 'examples/api/java/HelloWorld.java')
-rw-r--r--examples/api/java/HelloWorld.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/api/java/HelloWorld.java b/examples/api/java/HelloWorld.java
index 393ce40f0..a08f3d452 100644
--- a/examples/api/java/HelloWorld.java
+++ b/examples/api/java/HelloWorld.java
@@ -30,6 +30,6 @@ public class HelloWorld {
Expr helloworld = em.mkVar("Hello World!", em.booleanType());
SmtEngine smt = new SmtEngine(em);
- System.out.println(helloworld + " is " + smt.query(helloworld));
+ System.out.println(helloworld + " is " + smt.checkEntailed(helloworld));
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback