Java - Functional interface - The type parameter PacketIn is hiding the type PacketIn
Clash 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.