mirror of
https://github.com/Z3Prover/z3
synced 2025-04-26 02:25:32 +00:00
Java API: 32-bit issues and bugfixes.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
9b2236361c
commit
692593baaa
8 changed files with 119 additions and 71 deletions
|
@ -39,10 +39,15 @@ public class Sort extends AST
|
|||
**/
|
||||
public boolean equals(Object o)
|
||||
{
|
||||
Sort casted = (Sort) o;
|
||||
if (casted == null)
|
||||
return false;
|
||||
return this == casted;
|
||||
Sort casted = null;
|
||||
|
||||
try {
|
||||
casted = Sort.class.cast(o);
|
||||
} catch (ClassCastException e) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return this.NativeObject() == casted.NativeObject();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue