You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by sebb <se...@gmail.com> on 2009/12/16 18:02:35 UTC

Re: svn commit: r891310 - in /tomcat/tc6.0.x/trunk: STATUS.txt java/org/apache/catalina/loader/WebappClassLoader.java java/org/apache/catalina/security/SecurityClassLoad.java

On 16/12/2009, markt@apache.org <ma...@apache.org> wrote:
> Author: markt
>  Date: Wed Dec 16 16:56:22 2009
>  New Revision: 891310
>
>  URL: http://svn.apache.org/viewvc?rev=891310&view=rev

<...>

>  --- tomcat/tc6.0.x/trunk/java/org/apache/catalina/loader/WebappClassLoader.java (original)
>  +++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/loader/WebappClassLoader.java Wed Dec 16 16:56:22 2009
>  @@ -111,7 +111,10 @@
>
>      public static final boolean ENABLE_CLEAR_REFERENCES =
>          Boolean.valueOf(System.getProperty("org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES", "true")).booleanValue();
>  -
>  +
>  +    /**
>  +     * @deprecated Not used
>  +     */

Doesn't this need the annotation:

       @Deprecated ?

>      protected class PrivilegedFindResource
>          implements PrivilegedAction {
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: svn commit: r891310 - in /tomcat/tc6.0.x/trunk: STATUS.txt java/org/apache/catalina/loader/WebappClassLoader.java java/org/apache/catalina/security/SecurityClassLoad.java

Posted by Konstantin Kolinko <kn...@gmail.com>.
2009/12/16 sebb <se...@gmail.com>:
> On 16/12/2009, markt@apache.org <ma...@apache.org> wrote:
>> Author: markt
>>  Date: Wed Dec 16 16:56:22 2009
>>  New Revision: 891310
>>
>>  URL: http://svn.apache.org/viewvc?rev=891310&view=rev
>
>>  +
>>  +    /**
>>  +     * @deprecated Not used
>>  +     */
>
> Doesn't this need the annotation:
>
>       @Deprecated ?
>
>>      protected class PrivilegedFindResource
>>          implements PrivilegedAction {
>>

I think that nobody cares.

In TC 6 there are 6 occurrences of @Deprecated and 150+ of /* @deprecated */.

When preparing the patch, that Mark applied, I went for the most
frequent option. I do not think that this inner class needs any
emphasis, as it is not some public API.

If anyone wants to add @Deprecated there, here is my +1 for that, but
I do not really care.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org