You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ky...@apache.org on 2019/01/16 10:07:22 UTC

[incubator-weex] branch master updated: [WEEX][Android] Fix Illegak Input Parse Exception (#2038)

This is an automated email from the ASF dual-hosted git repository.

kyork pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git


The following commit(s) were added to refs/heads/master by this push:
     new 744181b  [WEEX][Android] Fix Illegak Input Parse Exception (#2038)
744181b is described below

commit 744181b0ea241c87f4e2b29effa37b0c5a9dc378
Author: codefurture <gu...@163.com>
AuthorDate: Wed Jan 16 18:07:17 2019 +0800

    [WEEX][Android] Fix Illegak Input Parse Exception (#2038)
---
 .../sdk/src/main/java/com/taobao/weex/ui/animation/TransformParser.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/animation/TransformParser.java b/android/sdk/src/main/java/com/taobao/weex/ui/animation/TransformParser.java
index c31d2ec..9c38efd 100644
--- a/android/sdk/src/main/java/com/taobao/weex/ui/animation/TransformParser.java
+++ b/android/sdk/src/main/java/com/taobao/weex/ui/animation/TransformParser.java
@@ -168,7 +168,7 @@ public class TransformParser {
                                     if ((suffix = raw.lastIndexOf(DEG)) != -1) {
                                         convertedList.add(WXUtils.fastGetFloat(raw.substring(0, suffix)));
                                     } else {
-                                        convertedList.add((float) Math.toDegrees(Double.parseDouble(raw)));
+                                        convertedList.add((float) Math.toDegrees(WXUtils.fastGetFloat(raw)));
                                     }
                                 }
                                 return convertedList;