Java
Incorrect @Scheduled method signature
Warning
New
Last modified: 03 December 2024Reports incorrect @Scheduled methods.
According to Spring Documentation, methods to be scheduled must return void and must not expect any arguments. If the method needs to interact with other objects from the Application Context, they should be provided through dependency injection.
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
ScheduledMethodInspection
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Spring, 243.23126 |
Thanks for your feedback!
Was this page helpful?