mirror of
https://github.com/Z3Prover/z3
synced 2025-04-26 02:25:32 +00:00
Adding @Override declarations
They are important, as they prevent miss-spelling the parent method and /or arguments name.
This commit is contained in:
parent
a3a8ba40e7
commit
1dcaddbec7
36 changed files with 85 additions and 4 deletions
|
@ -72,6 +72,7 @@ public class ParamDescrs extends Z3Object
|
|||
/**
|
||||
* Retrieves a string representation of the ParamDescrs.
|
||||
**/
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
try
|
||||
|
@ -88,12 +89,14 @@ public class ParamDescrs extends Z3Object
|
|||
super(ctx, obj);
|
||||
}
|
||||
|
||||
@Override
|
||||
void incRef(long o)
|
||||
{
|
||||
getContext().getParamDescrsDRQ().incAndClear(getContext(), o);
|
||||
super.incRef(o);
|
||||
}
|
||||
|
||||
@Override
|
||||
void decRef(long o)
|
||||
{
|
||||
getContext().getParamDescrsDRQ().add(o);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue