abrooksv
(Austin Brooks)
1
Our latest release now has violations for the following methods:
ReadConstraint.Companion.inSmartMode(Project)
ReadConstraint.Companion.withDocumentsCommitted(...)
They are used via
constrainedReadAction(
ReadConstraint.inSmartMode(project),
ReadConstraint.withDocumentsCommitted(project),
) {..}
Are these false positives?
I assumed the OverrideOnly applied to the instance methods of ReadConstraint and NOT the companion object
You are right, this must not trigger any warnings
jojoatxgme
(Johannes Spangenberg)
4
FYI, there is already a ticket about that in youtrack: MP-7233
abrooksv
(Austin Brooks)
5
@robert.novotny Proposing this PR to fix the false positives