Repository: incubator-weex
Updated Branches:
  refs/heads/master e5cad8e12 -> e5e849302


 [WEEX-288][android] bug fix, fix on some case cannot get bundle type


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/e5e84930
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/e5e84930
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/e5e84930

Branch: refs/heads/master
Commit: e5e849302427576854bf0602b1edd1dc549c5a88
Parents: e5cad8e
Author: yuhun-alibaba <tomcat...@gmail.com>
Authored: Thu Apr 12 16:31:49 2018 +0800
Committer: yuhun-alibaba <tomcat...@gmail.com>
Committed: Thu Apr 12 16:36:28 2018 +0800

----------------------------------------------------------------------
 .../sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e5e84930/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
----------------------------------------------------------------------
diff --git 
a/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java 
b/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
index ffede54..f931ccf 100644
--- a/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
+++ b/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
@@ -1838,8 +1838,7 @@ public class WXBridgeManager implements Callback, 
BactchExecutor {
           if (temp.length() > 500) {
             temp = temp.substring(0, 500);
           }
-          String strTrim = temp.replaceAll("\n","");
-          strTrim.trim();
+          String strTrim = temp.replaceAll("\n","").trim();
           if (strTrim.startsWith("// { \"framework\": \"Vue\" }") ||
                   strTrim.startsWith("// { \"framework\": \"vue\" }") ||
                   strTrim.startsWith("// {\"framework\" : \"Vue\"}") ||

Reply via email to