Community
Participate
Working Groups
CDOQuery.getResultAsync(Class<T>) and CDOQuery.getResult(Class<T>) require the specification of a class literal to determine the return type parameterization. That's not possible if the desired return type is itself parameterized (because it's not possible to create class literals of generic types in Java). Often it's possible to infer that type from the call context, e.g. the type of the local variable that's supposed to recewive the return value. I propose two new overloaded methods like CDOQuery.getResultAsync() and CDOQuery.getResult() for this purpose.
Committed revision 7676
Available in R20110608-1407