Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning red #116

Open
studiozocaro opened this issue Jun 29, 2024 · 0 comments
Open

warning red #116

studiozocaro opened this issue Jun 29, 2024 · 0 comments

Comments

@studiozocaro
Copy link

/Users/flavio/.pub-cache/hosted/pub.dev/flutter_overlay_window-0.4.4/android/src/main/java/flutter/overlay/window/flutter_overlay_window/FlutterOverlayWindowPlugin.java:54: warning: [unchecked] unchecked call to BasicMessageChannel(BinaryMessenger,String,MessageCodec) as a member of the raw type BasicMessageChannel
messenger = new BasicMessageChannel(flutterPluginBinding.getBinaryMessenger(), OverlayConstants.MESSENGER_TAG,
^
where T is a type-variable:
T extends Object declared in class BasicMessageChannel
/Users/flavio/.pub-cache/hosted/pub.dev/flutter_overlay_window-0.4.4/android/src/main/java/flutter/overlay/window/flutter_overlay_window/FlutterOverlayWindowPlugin.java:54: warning: [unchecked] unchecked conversion
messenger = new BasicMessageChannel(flutterPluginBinding.getBinaryMessenger(), OverlayConstants.MESSENGER_TAG,
^
required: BasicMessageChannel
found: BasicMessageChannel
/Users/flavio/.pub-cache/hosted/pub.dev/flutter_overlay_window-0.4.4/android/src/main/java/flutter/overlay/window/flutter_overlay_window/FlutterOverlayWindowPlugin.java:56: warning: [unchecked] unchecked method invocation: method setMessageHandler in class BasicMessageChannel is applied to given types
messenger.setMessageHandler(this);
^
required: MessageHandler
found: FlutterOverlayWindowPlugin
where T is a type-variable:
T extends Object declared in class BasicMessageChannel
/Users/flavio/.pub-cache/hosted/pub.dev/flutter_overlay_window-0.4.4/android/src/main/java/flutter/overlay/window/flutter_overlay_window/FlutterOverlayWindowPlugin.java:56: warning: [unchecked] unchecked conversion
messenger.setMessageHandler(this);
^
required: MessageHandler
found: FlutterOverlayWindowPlugin
where T is a type-variable:
T extends Object declared in class BasicMessageChannel
/Users/flavio/.pub-cache/hosted/pub.dev/flutter_overlay_window-0.4.4/android/src/main/java/flutter/overlay/window/flutter_overlay_window/FlutterOverlayWindowPlugin.java:59: warning: [unchecked] unchecked method invocation: method setMessageHandler in class BasicMessageChannel is applied to given types
WindowSetup.messenger.setMessageHandler(this);
^
required: MessageHandler
found: FlutterOverlayWindowPlugin
where T is a type-variable:
T extends Object declared in class BasicMessageChannel
/Users/flavio/.pub-cache/hosted/pub.dev/flutter_overlay_window-0.4.4/android/src/main/java/flutter/overlay/window/flutter_overlay_window/FlutterOverlayWindowPlugin.java:59: warning: [unchecked] unchecked conversion
WindowSetup.messenger.setMessageHandler(this);
^
required: MessageHandler
found: FlutterOverlayWindowPlugin
where T is a type-variable:
T extends Object declared in class BasicMessageChannel
/Users/flavio/.pub-cache/hosted/pub.dev/flutter_overlay_window-0.4.4/android/src/main/java/flutter/overlay/window/flutter_overlay_window/FlutterOverlayWindowPlugin.java:171: warning: [unchecked] unchecked call to BasicMessageChannel(BinaryMessenger,String,MessageCodec) as a member of the raw type BasicMessageChannel
BasicMessageChannel overlayMessageChannel = new BasicMessageChannel(
^
where T is a type-variable:
T extends Object declared in class BasicMessageChannel
/Users/flavio/.pub-cache/hosted/pub.dev/flutter_overlay_window-0.4.4/android/src/main/java/flutter/overlay/window/flutter_overlay_window/FlutterOverlayWindowPlugin.java:175: warning: [unchecked] unchecked call to send(T,Reply) as a member of the raw type BasicMessageChannel
overlayMessageChannel.send(message, reply);
^
where T is a type-variable:
T extends Object declared in class BasicMessageChannel
/Users/flavio/.pub-cache/hosted/pub.dev/flutter_overlay_window-0.4.4/android/src/main/java/flutter/overlay/window/flutter_overlay_window/OverlayService.java:59: warning: [unchecked] unchecked call to BasicMessageChannel(BinaryMessenger,String,MessageCodec) as a member of the raw type BasicMessageChannel
private BasicMessageChannel overlayMessageChannel = new BasicMessageChannel(FlutterEngineCache.getInstance().get(OverlayConstants.CACHED_TAG).getDartExecutor(), OverlayConstants.MESSENGER_TAG, JSONMessageCodec.INSTANCE);
^
where T is a type-variable:
T extends Object declared in class BasicMessageChannel
/Users/flavio/.pub-cache/hosted/pub.dev/flutter_overlay_window-0.4.4/android/src/main/java/flutter/overlay/window/flutter_overlay_window/OverlayService.java:59: warning: [unchecked] unchecked conversion
private BasicMessageChannel overlayMessageChannel = new BasicMessageChannel(FlutterEngineCache.getInstance().get(OverlayConstants.CACHED_TAG).getDartExecutor(), OverlayConstants.MESSENGER_TAG, JSONMessageCodec.INSTANCE);
^
required: BasicMessageChannel
found: BasicMessageChannel
Note: /Users/flavio/.pub-cache/hosted/pub.dev/flutter_overlay_window-0.4.4/android/src/main/java/flutter/overlay/window/flutter_overlay_window/OverlayService.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
10 warnings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant