I agree, it's a little annoying, the method names would be nicer if it
dropped the prefix characters

-----Original Message-----
From: Erb [mailto:[EMAIL PROTECTED]]
Sent: 09 November 2001 16:29
To: EAP
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