ComputationTaskStopPolicy is a generic interface witha type parameter T extends IComputationTask. However, it is returned as a raw type by ComputationTaskStopPolicyFactory, which also uses the raw type to implement Factory.
Besides provoking compiler warnings, this makes it difficult for some client code to use the factory (e.g. see
ALESIA-40), and should be fixed.