mirror of
https://github.com/Z3Prover/z3
synced 2025-06-28 00:48:45 +00:00
Added braces
Lack of braces on multi-line statements is considered very scary in Java.
This commit is contained in:
parent
ccd88a63a5
commit
c435bc379b
8 changed files with 84 additions and 68 deletions
|
@ -183,11 +183,12 @@ public class Optimize extends Z3Object
|
|||
**/
|
||||
public Model getModel()
|
||||
{
|
||||
long x = Native.optimizeGetModel(getContext().nCtx(), getNativeObject());
|
||||
if (x == 0)
|
||||
return null;
|
||||
else
|
||||
return new Model(getContext(), x);
|
||||
long x = Native.optimizeGetModel(getContext().nCtx(), getNativeObject());
|
||||
if (x == 0) {
|
||||
return null;
|
||||
} else {
|
||||
return new Model(getContext(), x);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue