alfasoftware / astra

Astra: a Java tool for analysing and refactoring Java source code
Apache License 2.0
68 stars 35 forks source link

Don't remove import when changing a static method by name only, as we… #56

Closed owoller closed 3 years ago

owoller commented 3 years ago

… may not be changing all invocations of this method.

Instead, leave the import and let the UnusedImportRefactor clean it up if necessary.

RadikalJin commented 3 years ago

Changes make sense - the UnusedImportRefactor has evolved, and should be able to handle this now. Thanks @owoller, merging now.