flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject [4/8] git commit: [flex-falcon] [refs/heads/feature/amf] - fix param types
Date Wed, 06 Sep 2017 22:17:17 GMT
fix param types


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/29dde482
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/29dde482
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/29dde482

Branch: refs/heads/feature/amf
Commit: 29dde48272fe4bc8f01274c426e3e94aaba78749
Parents: ae267c3
Author: Alex Harui <aharui@apache.org>
Authored: Wed Aug 23 12:08:10 2017 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Wed Aug 23 12:08:10 2017 -0700

----------------------------------------------------------------------
 .../flex/compiler/internal/codegen/js/goog/JSGoogDocEmitter.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/29dde482/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogDocEmitter.java
----------------------------------------------------------------------
diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogDocEmitter.java
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogDocEmitter.java
index 332bc17..1c8b7a3 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogDocEmitter.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogDocEmitter.java
@@ -310,7 +310,7 @@ public class JSGoogDocEmitter extends JSDocEmitter implements IJSGoogDocEmitter
         else
         {
             String typeName = node.getVariableType();
-            if (typeName.indexOf(packageName) > -1)
+            if (packageName.length() > 0 && typeName.indexOf(packageName) >
-1)
             {
                 String[] parts = typeName.split("\\.");
                 if (parts.length > 0)


Mime
View raw message