Java - Functional interface - The type parameter PacketIn is hiding the type PacketIn

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Java - Functional interface - The type parameter PacketIn is hiding the type PacketIn


@FunctionalInterface



public interface ProtocolNetworkHandler {


void handle(ChannelHandlerContext ctx, P packet);



}



I got this functional interface but it's giving me a warning on PacketIn, any idea why? P, PacketIn with bigger/less than signs comes after ProtocolNetworkHandler (won't show up for some reason).
(The type parameter PacketIn is hiding the type PacketIn)



PacketIn is just a regular interface.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Stripe::AuthenticationError No API key provided. Set your API key using “Stripe.api_key = ”

CRM reporting Extension - SSRS instance is blank

Keycloak server returning user_not_found error when user is already imported with LDAP