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: r1503006 - /tomcat/trunk/java/org/apache/el/lang/ELSupport.java
Date Mon, 15 Jul 2013 08:40:33 GMT
On 15/07/2013 09:35, Mark Thomas wrote:
> On 15/07/2013 00:16, Konstantin Kolinko wrote:


>> 3. It would be safer if instead of a generic "is set empty" check we
>> could check that this set was indeed created by our EL.  E.g. use some
>> sentinel object.
> 
> Yes. I think that is possible. I'll take a look.

I took a look and didn't get very far. It would work if the created
collections are immutable but since they are not it needs to be possible
for the empty set to be added to and that precludes a single empty set
that is re-used.

Mark

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


Mime
View raw message