Groovy
Unsynchronized method overrides synchronized method
Warning
Security
New
Last modified: 03 December 2024Reports non-synchronized methods overriding synchronized methods.
Example:
abstract class Base {
synchronized void foo() {
// ...
}
}
class Derived extends Base {
@Override
void foo() {
super.foo()
// ...
}
}
Here the non-synchronized method foo()
in class Bar
overrides synchronized method.
- 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.
GroovyUnsynchronizedMethodOverridesSynchronizedMethod
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Groovy, 243.23126 |
Thanks for your feedback!
Was this page helpful?