Raw types should not be used

Hi all,

could you please tell my why this is a code smell:

I have a interface which extends a templated interface with a specific type:

public interface ImageProcessing extends UnaryOperator<Mat>

if a class implements this interface, the code smell “Raw types should not be used” is reported. Could you please tell me how I can do this right?

Hi @Ulrich_Mayer,

It’s hard to tell what the problem may be just based on the line of code you posted. Can you provide a minimal-but-complete piece of code that triggers the issue?

Thank you,