tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: svn commit: r1643937 - /tomcat/trunk/java/org/apache/catalina/webresources/StandardRoot.java
Date Mon, 08 Dec 2014 23:22:31 GMT
On 08/12/2014 21:40, violetagg@apache.org wrote:
> Author: violetagg
> Date: Mon Dec  8 21:40:06 2014
> New Revision: 1643937
> 
> URL: http://svn.apache.org/r1643937
> Log:
> Additional method was introduced to StandardRoot in order to be able to extend classResources.
> 
> Modified:
>     tomcat/trunk/java/org/apache/catalina/webresources/StandardRoot.java
> 
> Modified: tomcat/trunk/java/org/apache/catalina/webresources/StandardRoot.java
> URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/webresources/StandardRoot.java?rev=1643937&r1=1643936&r2=1643937&view=diff
> ==============================================================================
> --- tomcat/trunk/java/org/apache/catalina/webresources/StandardRoot.java (original)
> +++ tomcat/trunk/java/org/apache/catalina/webresources/StandardRoot.java Mon Dec  8 21:40:06
2014
> @@ -461,6 +461,11 @@ public class StandardRoot extends Lifecy
>          return classResources.toArray(new WebResourceSet[0]);
>      }
>  
> +    protected void addClassResources(WebResourceSet webResourceSet) {
> +        webResourceSet.setRoot(this);
> +        classResources.add(webResourceSet);
> +    }
> +

This looks suspicious too. What is the use case here?

Mark



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


Mime
View raw message