I have a method with this signature:
protected final Map buildOutputMappings(
AbstractDataObject ado, M
my guess is that you are not using generics correctly in the subclass, and the compiler is disabling generics for the class. thus the return type for the buildOutputMappings call is being converted to the raw type and the warning is being generated. is the parent class parameterized? does the subclass include types for the parent classes parameters?
In short, your error is most likely a dropped type parameter somewhere in the subclass or parent class.
I have a feeling that your actual return statement is not matching your returning the correct type as indicated by your method definition. I can't be sure because you don't have the code included.