refactor: make nextTransactionId final in QueryPlugin (small change but still)

This commit is contained in:
ChomeNS
2025-05-05 14:40:32 +07:00
parent 9aea972690
commit e8eb2f3b4d

View File

@@ -22,7 +22,7 @@ public class QueryPlugin implements Listener {
private final Bot bot;
public AtomicLong nextTransactionId = new AtomicLong(0);
public final AtomicLong nextTransactionId = new AtomicLong(0);
public final Map<Long, CompletableFuture<String>> transactions = new ConcurrentHashMap<>();
public final List<UUID> ids = Collections.synchronizedList(new ObjectArrayList<>());