Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 RabbitMQ Consumer Java 应用程序,它使用 while(true) 循环继续检查队列中的新消息。
是否有任何解决方案,这样我就可以在不抑制错误的情况下避免遵循 Sonalint Blocker错误:
循环不应该是无限的
参考:https ://rules.sonarsource.com/java/RSPEC-2189