Renaming an inner class also changes string literals in the source
Issue #917
resolved
With the source below using Refactor -> Rename on inner class Test will change the string literal also.
public class RenameTest { public void main() { String str = 'Test'; Test tst = new Test(); }
public class Test {
} }
Comments (4)
-
repo owner -
repo owner - changed component to Refactoring
-
repo owner This will be fixed in the next version. IC will no longer build references to what look like type names in string literals. You will still be able to include those in a rename by typing Shift+F6 twice and clicking Search in comments and strings, then carefully auditing other usages.
-
repo owner - changed status to resolved
Delivered in 2.0.1.4.
- Log in to comment
Thanks for logging, Valerie. I just hit this issue myself and plan to address it this weekend for next week's build.