Currently, the refactoring 'change signature' does not work for the default - no code, 
no arg - constructor.

Example : to refactor from
   Action a = new Action () ;
to
   Action a = new Action ("a param") ;

,I must first create, in the class Action, no arg 
  public Action () {}
and then I can "change signature" the constructor.

  public Action (String sParam) 
  {
  }

We could go 1 step further, and create a new instance variable :

  public Action (String sParam) 
  {
    this.sParam = sParam ;
  }
  private String sParam ;

Alain Ravet

This mail has been checked by exiscan.
To be safe, please scan the mail attachements with your local virus scanner !

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

Reply via email to