@Sanne Any opinion on this? To sum up, the choice is:
- either we make createFullTextQuery return a FullTextQuery<?> or FullTextQuery<Object>, but break existing code that used non-raw lists of results.
- or we leave it as is (FullTextQuery is a generic type, but we only ever return raw instances)
- or we remove the generic parameter from FullTextQuery and make it extend Query instead of Query<T> (extend the raw type)
Given that we can't return a properly parameterized FullTextQuery anyway, I'd say we should just go for solution 3, and introduce generics in a later version (probably 6). |