I have this two interfaces and classes:
public interface Identifiable { T getId(); } public interface GenericRepository
It would work with (i.e. compile)
public interface GenericRepository { T get(T id); }
but it says nonetheless that Identifiable is a raw type and that it should be parametrized.
Hope it helps.