Hi Rodrigo,

Finally we have found the problem. You are using CVS integration aren't you?
:-)
The behaviour is reproducible when the integration is enabled.
The bug is fixed in #606. Thanks for reporting it!

Best regards,
Eugene Zhuravlev
IntelliJ Software, http://www.intellij.com/
"Develop with pleasure!"

----- Original Message -----
From: "Rodrigo Gevaerd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 20, 2002 20:35
Subject: RE: [Eap-list] RE: Class field rename refactor - BUG


> I will explain exactly how I can make it happen:
>
> The following java class file:
>
> -------------
> /*
>  * Created by IntelliJ IDEA.
>  * User: gevaerd
>  * Date: 20/02/2002
>  * Time: 14:30:56
>  * To change template for new class use
>  * Code Style | Class Templates options (Tools | IDE Options).
>  */
> package symprise.web;
>
> public class Test
> {
>   private String var;
>
>   public String getVar()
>   {
>     return var;
>   }
> }
> ------------------
>
> I put the cursor on "var" and press shift-F6. Enter the new name as
"var2",
> both checkboxes are off. Click OK. Answer YES for the question made. The
> following is the result:
>
> ------------------
> /*
>  * Created by IntelliJ IDEA.
>  * User: gevaerd
>  * Date: 20/02/2002
>  * Time: 14:30:56
>  * To change template for new class use
>  * Code Style | Class Templates options (Tools | IDE Options).
>  */
> package symprise.web;
>
> public class Test
> {
>   private String var2;
>
>   public String getVar2()
>   {
>     return getVar2;
>   }
> }
> -------------------
>
> > -----Original Message-----
> > From: Eugene Zhuravlev [mailto:[EMAIL PROTECTED]]
> > Sent: quarta-feira, 20 de fevereiro de 2002 13:25
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Eap-list] RE: Class field rename refactor - BUG
> >
> >
> > Hi Rodrigo,
> >
> > We did not manage to reproduce this. Could you provide some hints?
> >
> > Best regards,
> > Eugene Zhuravlev
> > IntelliJ Software, http://www.intellij.com/
> > "Develop with pleasure!"
> >
> > ----- Original Message -----
> > From: "Rodrigo Gevaerd" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, February 20, 2002 18:04
> > Subject: [Eap-list] RE: Class field rename refactor - BUG
> >
> >
> > >
> > > On the following code:
> > >
> > >   private String var;
> > >
> > >   public String getVar()
> > >   {
> > >     return var;
> > >   }
> > >
> > > a refactor of rename on var to var2 saying yes to change
> > the method does
> > the
> > > following:
> > >
> > >   private String var2;
> > >
> > >   public String getVar2()
> > >   {
> > >     return getVar2;
> > >   }
> > >
> > > getVar2 should be var2. Using #605.
> > >
> > >
> > >   []'s,
> > >
> > >   Rodrigo.
> > >
> > >
> > > > -----Original Message-----
> > > > From: Rodrigo Gevaerd
> > > > Sent: quarta-feira, 20 de fevereiro de 2002 12:00
> > > > To: '[EMAIL PROTECTED]'
> > > > Subject: RE: Class field rename refactor
> > > >
> > > >
> > > >   Now I see that if you do a normal rename in the field it
> > > > asks for the access methods (i didn't see this before because
> > > > I was starting the renaming by the methods), it only leaves
> > > > the constructor parameter unchanged. So I would say this is a
> > > > cosmetic feature it could also have.
> > > >
> > > >   []'s,
> > > >
> > > >   Rodrigo.
> > > >
> > > > > -----Original Message-----
> > > > > From: Rodrigo Gevaerd
> > > > > Sent: quarta-feira, 20 de fevereiro de 2002 11:56
> > > > > To: '[EMAIL PROTECTED]'
> > > > > Subject: Class field rename refactor
> > > > >
> > > > >
> > > > >
> > > > >   Isn't there any rename refactor for a Class field that also
> > > > > renames its get, set methods and the constructor parameter? I
> > > > > think it would be useful.
> > > > >
> > > > >   []'s,
> > > > >
> > > > >   Rodrigo.
> > > > >
> >
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to