Agreed. I'd say go ahead and make 'em final

- James Snell
     IBM Emerging Technologies
     [EMAIL PROTECTED]
     (559) 587-1233 (office)
     (700) 544-9035 (t/l)
     Programming Web Services With SOAP
         O'Reilly & Associates, ISBN 0596000952

     Have I not commanded you? Be strong and courageous. 
     Do not be terrified, do not be discouraged, for the Lord your 
     God will be with you whereever you go.    - Joshua 1:9



"Steve Loughran" <[EMAIL PROTECTED]>
01/08/2003 09:59 PM
Please respond to axis-dev


To
"axis-dev" <[EMAIL PROTECTED]>
cc

bcc

Subject
Re: MessageContext and final static strings



the eclipse doc says that "Making an API field final breaks compatibility
with pre-existing binaries that attempt to assign new values to the 
field.".

assuming nobody tried to do this, I think making the fields final should 
be
OK.

on a related topic, any reason why these bunnies in JWSHandler are not
static:

public final String OPTION_JWS_FILE_EXTENSION = "extension";
public final String DEFAULT_JWS_FILE_EXTENSION = ".jws";

We cannot change these; it apparently results in a link time error. 
Bugger.
I wanted to refer to it in the servlets where we check for whether a JWS
file exists.

I am about to add the JWS extension to the Constants class as a static, 
and
defining the JWSHandler version of it from the constants.


Reply via email to