From d91a114b8086d3f3d68d354b80bc62a9e7d5b3d6 Mon Sep 17 00:00:00 2001 From: "Christoph M. Wintersteiger" Date: Wed, 22 Oct 2014 16:29:13 +0100 Subject: [PATCH] Java API: removed Z3_get_param_value as in other APIs. Signed-off-by: Christoph M. Wintersteiger --- src/api/java/Context.java | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/api/java/Context.java b/src/api/java/Context.java index 6b6c63ac3..41a98e3d9 100644 --- a/src/api/java/Context.java +++ b/src/api/java/Context.java @@ -2904,27 +2904,13 @@ public class Context extends IDisposable * configuration parameters can be obtained using the Z3 executable: * z3.exe -ini? Only a few configuration parameters are mutable * once the context is created. An exception is thrown when trying to modify - * an immutable parameter. + * an immutable parameter. **/ public void updateParamValue(String id, String value) throws Z3Exception { Native.updateParamValue(nCtx(), id, value); } - /** - * Get a configuration parameter. Returns null if the parameter - * value does not exist. - **/ - public String getParamValue(String id) throws Z3Exception - { - Native.StringPtr res = new Native.StringPtr(); - boolean r = Native.getParamValue(nCtx(), id, res); - if (!r) - return null; - else - return res.value; - } - long m_ctx = 0; long nCtx()