commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Keyes <j...@mac.com>
Subject Re: Your commits to commons-configuration
Date Tue, 14 Jan 2003 23:08:25 GMT
<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:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message