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.

Reply via email to