Inspectopedia Help

Unnecessary debug initialization

Reports redundant ReactorDebugAgent.init() calls.

IDE can automatically initialize the Reactor Debug mode, so users don't need to call ReactorDebugAgent.init() or Hooks.onOperatorDebug() explicitly.

Also, calling both ReactorDebugAgent.init() and Hooks.onOperatorDebug() causes doubled debugging stack frames generated by Reactor.

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Reactive Streams, 233.SNAPSHOT

Last modified: 13 July 2023