Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7BEE510DD3 for ; Fri, 28 Feb 2014 09:48:37 +0000 (UTC) Received: (qmail 34638 invoked by uid 500); 28 Feb 2014 09:48:09 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 34404 invoked by uid 500); 28 Feb 2014 09:48:05 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 34168 invoked by uid 99); 28 Feb 2014 09:48:00 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Feb 2014 09:48:00 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 3801D9304C1; Fri, 28 Feb 2014 09:47:59 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: josebarragan@apache.org To: commits@flex.apache.org Date: Fri, 28 Feb 2014 09:48:21 -0000 Message-Id: <22671bb755b84655a82099b38e56b62f@git.apache.org> In-Reply-To: <9e6db14e39d744439e67f278e1e84202@git.apache.org> References: <9e6db14e39d744439e67f278e1e84202@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [24/50] git commit: [flex-falcon] [refs/heads/maven] - Fixes issue where the namespace of the package instead of the namespace of the type is prefixed in the JSDoc annotation of an interface member. Fixes issue where the namespace of the package instead of the namespace of the type is prefixed in the JSDoc annotation of an interface member. Signed-off-by: Erik de Bruin Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/f95e2d23 Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/f95e2d23 Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/f95e2d23 Branch: refs/heads/maven Commit: f95e2d231ae60359dc386a001b91daa86090ce6d Parents: 5835285 Author: Erik de Bruin Authored: Fri Dec 6 11:33:17 2013 +0100 Committer: Erik de Bruin Committed: Fri Dec 6 11:33:17 2013 +0100 ---------------------------------------------------------------------- .../internal/codegen/js/flexjs/JSFlexJSDocEmitter.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/f95e2d23/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 ab75379..235deb1 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 @@ -169,13 +169,7 @@ public class JSFlexJSDocEmitter extends JSGoogDocEmitter ITypeDefinition tdef = ((IFunctionDefinition)node.getDefinition()) .resolveReturnType(project); - String packageName = ""; - if (tdef instanceof InterfaceDefinition) - packageName = tdef.getPackageName(); - else - packageName = node.getPackageName(); - - emitReturn((IFunctionNode) node, packageName); + emitReturn((IFunctionNode) node, tdef.getPackageName()); } IParameterNode[] parameters = ((IFunctionNode) node).getParameterNodes();