Skip to content

[#1984] Refactor use of deprecated StatsImpl.addStatistic to use addStatistics(Set.of(..))#1985

Open
mattrpav wants to merge 1 commit intoapache:mainfrom
mattrpav:amq-gh-1984
Open

[#1984] Refactor use of deprecated StatsImpl.addStatistic to use addStatistics(Set.of(..))#1985
mattrpav wants to merge 1 commit intoapache:mainfrom
mattrpav:amq-gh-1984

Conversation

@mattrpav
Copy link
Copy Markdown
Contributor

@mattrpav mattrpav commented May 2, 2026

No description provided.

addStatistic("enqueues", enqueues);
addStatistic("dequeues", dequeues);
addStatistic("receivedCount", receivedCount);
addStatistics(Set.of(enqueues, dequeues, receivedCount));
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
addStatistics(Set.of(enqueues, dequeues, receivedCount));
addStatistics(Set.of(enqueues, dequeues, receivedCount));

@mattrpav mattrpav requested a review from jbonofre May 3, 2026 17:54
@mattrpav mattrpav moved this from Backlog to In review in Apache ActiveMQ v6.3.0 May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

2 participants