flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject [1/2] git commit: [flex-falcon] [refs/heads/develop] - - Fixed a NPE error
Date Wed, 30 Sep 2015 12:27:47 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 08011e1c7 -> 980af8b28


- Fixed a NPE error


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

Branch: refs/heads/develop
Commit: 052632ea60d2220721a929892c01d118e9514a48
Parents: d693720
Author: Christofer Dutz <christofer.dutz@codecentric.de>
Authored: Wed Sep 30 14:27:24 2015 +0200
Committer: Christofer Dutz <christofer.dutz@codecentric.de>
Committed: Wed Sep 30 14:27:24 2015 +0200

----------------------------------------------------------------------
 .../internal/codegen/js/flexjs/JSFlexJSDocEmitter.java         | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/052632ea/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSDocEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSDocEmitter.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSDocEmitter.java
index 2cf1667..4a3a613 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSDocEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSDocEmitter.java
@@ -135,11 +135,13 @@ public class JSFlexJSDocEmitter extends JSGoogDocEmitter
                             .resolve(project, (ASScope) classDefinition
                                     .getContainingScope(),
                                     DependencyType.INHERITANCE, true);
-                    if (type == null)
+                    if (type == null) {
                         System.out.println(iReference.getDisplayString()
                                 + " not resolved in "
                                 + classDefinition.getQualifiedName());
-                    emitImplements(type, project.getActualPackageName(type.getPackageName()));
+                    } else {
+                        emitImplements(type, project.getActualPackageName(type.getPackageName()));
+                    }
                 }
             }
             else


Mime
View raw message