mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +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
|
@ -101,6 +101,7 @@ class ASTMap extends Z3Object
|
|||
/**
|
||||
* Retrieves a string representation of the map.
|
||||
**/
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
try
|
||||
|
@ -122,12 +123,14 @@ class ASTMap extends Z3Object
|
|||
super(ctx, Native.mkAstMap(ctx.nCtx()));
|
||||
}
|
||||
|
||||
@Override
|
||||
void incRef(long o)
|
||||
{
|
||||
getContext().getASTMapDRQ().incAndClear(getContext(), o);
|
||||
super.incRef(o);
|
||||
}
|
||||
|
||||
@Override
|
||||
void decRef(long o)
|
||||
{
|
||||
getContext().getASTMapDRQ().add(o);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue