From 35944dc2cb36bb9188cc812d2a362e38b4a760b9 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Fri, 28 Feb 2020 14:23:03 +0800 Subject: [PATCH] android:fix import error --- .../main/java/pub/doric/devkit/remote/RemoteJSExecutor.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doric-android/devkit/src/main/java/pub/doric/devkit/remote/RemoteJSExecutor.java b/doric-android/devkit/src/main/java/pub/doric/devkit/remote/RemoteJSExecutor.java index d4ff926e..2d394088 100644 --- a/doric-android/devkit/src/main/java/pub/doric/devkit/remote/RemoteJSExecutor.java +++ b/doric-android/devkit/src/main/java/pub/doric/devkit/remote/RemoteJSExecutor.java @@ -6,7 +6,6 @@ import com.github.pengfeizhou.jscore.JavaFunction; import com.github.pengfeizhou.jscore.JavaValue; import org.greenrobot.eventbus.EventBus; -import org.jetbrains.annotations.NotNull; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; @@ -64,7 +63,7 @@ public class RemoteJSExecutor { } @Override - public void onMessage(@NotNull WebSocket webSocket, @NotNull String text) { + public void onMessage(WebSocket webSocket, String text) { try { JSONObject jsonObject = new JSONObject(text); String cmd = jsonObject.optString("cmd");