Community
Participate
Working Groups
there occur problems when the identifier is renamed by an complex expression: e.g. HashMap hashmMap = new HashMap(); Object[] array = (Object[]) collection.toArray(new Object[collection.size()]); I use "Quick Fix" -> "Rename in file" to replace "collection" by "hashMap. values()" the result is: Object[] array = (Object[]) hashmMap.values()oArray(new Object[hashmMap.values( ).size()]); maybe the brakes are ignored when the count of characters to insert is calculated?
works for me using I20050405-0800
I use S-3.1M6-200504011645. In eclipse preferences i have activated "Java"->"Editor"->"Code Assist"- >"Insertion"->"Completion overwrites" The error occurs if i use auto completion to complete "values()". If I type "v" and complete then (CTRL-SPACE) the first character of ".toArray()" is overwritten. If I type "va" and complete then the first two characters of ".toArray()" (".t") are overwritten and so on.
Used steps in comment 0. There was no code assist involved ;-)
sorry, I admit that was not self explaining ;-)
Works for me using 4.3 RC4.