Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
karsonto committed Feb 21, 2024
1 parent cd5799b commit b4d123c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ private void enqueue(MessageEntity messageEntity) {
* @return The MessageEntity object at the head of the queue.
*/
private MessageEntity dequeue() {
MessageEntity item = items[takeIndex++];
final MessageEntity item = items[takeIndex++];
if (takeIndex == items.length) {
takeIndex = 0;
}
Expand Down

0 comments on commit b4d123c

Please sign in to comment.