Hi all !
In my app(Vaadin 7.2.4) and HibernateContainer utils what is almost 1:1 with some modifications like: https://github.com/gpiercey/HbnContainer/blob/master/src/com/vaadin/data/hbnutil/HbnContainer.java
After migrate i got one error: The return type is incompatible with Container.Filterable.getContainerFilters() for
Code:
public Set<ContainerFilter> getContainerFilters()
{
return filters;
}
because Container.Filterable after Vaadin 7.1 return Collection i tryed to fix this but unsuccessful
Code:
public Collection<Filter> getContainerFilters();
maybe someone can give me some tips how to resolve this error ?
I am using this method in my app to get container filter iterator
Code:
for (Iterator<?> iterator = hc.getContainerFilters().iterator(); iterator.hasNext();)
{
ContainerFilter cf = (ContainerFilter)iterator.next();
if (cf.getPropertyId().equals("id"))
allowedSize=1;
}
THANKS !