Community
Participate
Working Groups
Build ID: I20070621-1340 Steps To Reproduce: 1) Create a simple class: public static class Option { private String value; private String label; /** * * @param v * @param l */ public Option (String v, String l) { super(); value = v; label = l; } } 2) Select one of the parameters in the method's signature. 3) Hit Alt+Shift+R for Rename. 4) Rename, say, from 'v' to 'v1'. 5) Hit ENTER. I would expect to see the "@param" tag changing to reflect the new name of the parameter. In previous versions (say, 3.2.x included with IBM Rational Application Developer 7.0) it works just fine. Got broken at some time between 3.2 and 3.3. More information:
Several things here: 1) The build you refer to is not 3.3.0 (should be I20070625-1500) 2) static is not a valid qualifier for a main type 3) It works for me using 3.3.0 build... I can reproduce the symptom you described if I uncheck 'Process Javadoc comments' check-box in Java Compiler > Javadoc preference page... Please verify that you have enabled this option and reopen if this is not the explanation of your problem, thanks
Hello Frederic, 1) Help -> About gives me the following: Version: 3.3.0 Build id: I20070621-1340 I'm using the Eclipse package for JEE developers (the "Europa" build). 2) It wasn't a main type - I copied & pasted code from my workspace. 3) You are right, I am sorry. I was under the impression that the "process javadoc" preferences had to do with the compiler errors / warnings settings, and did not realize that it also enables refactoring. I owe you guys an apology - will be more careful next time. (hopefully) Isaac
Verified by reporter