3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 02:45: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:
George Karpenkov 2016-01-06 11:07:48 +01:00
parent a3a8ba40e7
commit 1dcaddbec7
36 changed files with 85 additions and 4 deletions

View file

@ -70,6 +70,7 @@ public class FuncInterp extends Z3Object
/**
* A string representation of the function entry.
**/
@Override
public String toString()
{
try
@ -91,12 +92,14 @@ public class FuncInterp extends Z3Object
super(ctx, obj);
}
@Override
void incRef(long o)
{
getContext().getFuncEntryDRQ().incAndClear(getContext(), o);
super.incRef(o);
}
@Override
void decRef(long o)
{
getContext().getFuncEntryDRQ().add(o);
@ -192,12 +195,14 @@ public class FuncInterp extends Z3Object
super(ctx, obj);
}
@Override
void incRef(long o)
{
getContext().getFuncInterpDRQ().incAndClear(getContext(), o);
super.incRef(o);
}
@Override
void decRef(long o)
{
getContext().getFuncInterpDRQ().add(o);