You need to also set static field to "_".
Works ok for me here.

Carlos

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: sexta-feira, 9 de Novembro de 2001 16:29
> To: [EMAIL PROTECTED]
> Subject: [Eap-list] prefix issue
> 
> 
> In my Code Style settings, I have prefix for fields set as "_",
> but none for anything else.
> I add a setter for a static field that starts with "_".
> The parameter for the setter is the same as the field name,
> including the underscore.  I think it should not be.
> 
> I get:
> 
>      private static UserInterface _userInterface;
> 
>      public static void set_userInterface(UserInterface 
> _userInterface) {
>          ClientInitializer._userInterface = _userInterface;
>      }
> 
> 
> I want:
> /
> /    private static UserInterface _userInterface;
> 
>      public static void set_userInterface(UserInterface 
> userInterface) {
>          _userInterface = userInterface;
>      }
> 
> (Well, OK, I really also want "setUserInterface", but that's 
> another story.)
> 
> -- 
> 
> Erb
> 
> ==============================================================
> "The only time I like in the morning is afternoon."
>      - Russell D. Cooper
> 
> "If you do everything, then you're all done."
>      - Melissa F. Cooper
> 
> "Most of you are familiar with the virtues of a programmer.
> There are three, of course: laziness, impatience, and hubris."
>      - Larry Wall
> ==============================================================
> 
> 
> _______________________________________________
> 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