Files
openide/java
Tagir Valeev d7ed8a605b [java-refactoring] Refactoring dialog: avoid updating var-type state on every updateControls()
It should be updated only on type change (which happens rarely, especially because in many cases, we do not allow to change the type at all)
Fixes IDEA-360822 Introduce Variable: "Replace all occurrences" (Alt+A) triggers flood of exceptions
Slow operations are still possible but should not cause 'flood'. Given that dialog mode in refactorings is rarely used (it's non-default), current fix looks good enough

GitOrigin-RevId: 6ad7e2826b11e1f39598e991201ba05620acae84
2024-11-19 12:34:06 +00:00
..