3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 08:35:31 +00:00

Use correct SuppressWarning annotation to silence the compiler

This commit is contained in:
Thomas Haas 2024-02-17 13:25:04 +01:00
parent 323b70af5c
commit 9fbd790aad

View file

@ -68,7 +68,7 @@ class Z3ReferenceQueue {
* Clean all references stored in {@code referenceList},
* <b>regardless</b> of whether they are in {@code referenceQueue} or not.
*/
@SuppressWarnings("empty-statement")
@SuppressWarnings("StatementWithEmptyBody")
public void forceClear() {
// Decrement all reference counters
Reference<?> cur = referenceList.next;