<snip/>
Can't speak for all of J2EE, but at least in the servlet spec, the
upper-lower case versions of the names were deprecated and replaced by
uppercase-only versions in Servlet 2.1 (a *long* time ago :-). Examples:

javax.servlet.http.HttpRequest:
------------------------------
isRequestedSessionFromUrl() --> isRequestedSessionFromURL()

javax.servlet.http.HttpResponse:
-------------------------------
encodeUrl() --> encodeURL()
encodeRedirectUrl() --> encodeRedirectURL()

Was it for backwards compatibility that the classes were not named
HTTPRequest and HTTPResponse. Its seems a bit inconsistent to
me to make a change to the method signatures but not the classnames.

Either way, like many of the other discussions in relation to coding standards,
as long as the convention the project uses is documented and used consistently.

-John K

- - - - - - - - - - - - - - - - - - - - - - -
Jakarta Commons CLI
http://jakarta.apache.org/commons/cli


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to