[udig-devel] Bad Jesse don't change API!

Jesse Eichar jeichar at refractions.net
Fri Jan 18 17:24:59 PST 2008


My most profound apologies but I found myself having to change the  
contract of IService.

Previously IService#members(IProgressMonitor) was type narrows to  
return List<? extends IGeoResource>  I have changed that to return the  
same value as IResolve (IE List<IResolve>)

I have also added a method resources(IProgressMonitor) which takes the  
place of the old members method.  It now returns List<? extends  
IGeoResource>.  There is one difference, it should return all the  
georesources of the entire sub-hierarchy within the service.

Summary:

In order to migrate your code simply rename members() to resources.   
The new IService method has an implementation that simply calls  
resources().



Jesse


More information about the udig-devel mailing list