You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the clear example! I suspect there's a dangling type reference on the field, identifier or method that still refers to the old type, and thus blocks removal of the import. Might be easy to spot if the above is converted into a runnable test of a draft PR. Once we clear out any remaining references the import should be dropped.
What did you expect to see?
What did you see instead?
https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseCollectionInterfaces.java#L166 has the removal but is doesn't sem to work?
Are you interested in contributing a fix to OpenRewrite?
The text was updated successfully, but these errors were encountered: