camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Su <tony...@yahoo.com>
Subject Re: Problem Removing Endpoints
Date Fri, 03 Feb 2012 23:24:57 GMT

Babak Vahdat wrote
> 
> Hi
> 
> That was a Javadoc typo as CamelContext.removeEndpoints() would never
> return null but just an empty Collection if no matching endpoint could be
> found. So in your case checking it aganist null is obsolete.
> 
> I did correct it right before on the trunk.
> 
> Babak
> 

I just realized that a little while ago while browsing the source :-)

Changing to check for "removed.isEmpty()" ... 

--
View this message in context: http://camel.465427.n5.nabble.com/Problem-Removing-Endpoints-tp5455029p5455390.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message