mirror of
https://github.com/apache/activemq.git
synced 2025-02-10 12:06:05 +00:00
Preventing a divide by 0 error by taking a local reference to the prefetch size to guarantee that the value doesn't change after the > 0 check (cherry picked from commit 42dabb7a7a7f981eb57d46663456ac1d7c912acb)