On 12/12/2016 12:01, 储巍 wrote:
> Hi!
>
> when I read the code of Tomcat 9. I have the following question.
>
> CLass:org.apache.tomcat.util.digester.Digester
> Method:endDocument()
>
> What's the purpose of the following code block. I think it is same as
> "stack.clear()" in method clear().
Hi!
when I read the code of Tomcat 9. I have the following question.
CLass:org.apache.tomcat.util.digester.Digester
Method:endDocument()
What's the purpose of the following code block. I think it is same as
"stack.clear()" in method clear().
while (getCount() > 1) {
pop();
}