Return-Path: X-Original-To: apmail-groovy-notifications-archive@minotaur.apache.org Delivered-To: apmail-groovy-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 40E5218A0A for ; Sat, 18 Jul 2015 12:34:12 +0000 (UTC) Received: (qmail 81129 invoked by uid 500); 18 Jul 2015 12:34:11 -0000 Delivered-To: apmail-groovy-notifications-archive@groovy.apache.org Received: (qmail 81105 invoked by uid 500); 18 Jul 2015 12:34:11 -0000 Mailing-List: contact notifications-help@groovy.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.incubator.apache.org Delivered-To: mailing list notifications@groovy.incubator.apache.org Received: (qmail 81096 invoked by uid 99); 18 Jul 2015 12:34:11 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jul 2015 12:34:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 64EBF186AA9 for ; Sat, 18 Jul 2015 12:34:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.991 X-Spam-Level: X-Spam-Status: No, score=0.991 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id GtZCnwwEQpLf for ; Sat, 18 Jul 2015 12:34:01 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id 84BFA22F2E for ; Sat, 18 Jul 2015 12:34:01 +0000 (UTC) Received: (qmail 81051 invoked by uid 99); 18 Jul 2015 12:34:01 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jul 2015 12:34:01 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 45FA0E038A; Sat, 18 Jul 2015 12:34:01 +0000 (UTC) From: anshbansal To: notifications@groovy.incubator.apache.org Reply-To: notifications@groovy.incubator.apache.org Message-ID: Subject: [GitHub] incubator-groovy pull request: Update core-program-structure.adoc Content-Type: text/plain Date: Sat, 18 Jul 2015 12:34:01 +0000 (UTC) GitHub user anshbansal opened a pull request: https://github.com/apache/incubator-groovy/pull/64 Update core-program-structure.adoc - Added why the packages are imported by defaults and also removed the 6 part as two classes are also imported. - Changed the star import content as that was rendered as bold on the page. - is instead of it There are 2 other things that may need some clarification but I am not really sure >dynamic than Java in that it allows you to define methods with the same name as an imported method as long as you have different types This needs an example. I am not sure what this means so couldn't add. >How can we fix it in one place, outside of the original class, without changing all the code that’s using it? Groovy has an elegant solution to this problem. Is this example valid? I mean the imports will need to be changed. Correct? You can merge this pull request into a Git repository by running: $ git pull https://github.com/anshbansal/incubator-groovy patch-4 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-groovy/pull/64.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #64 ---- commit d1e78fe6ee0ffc8335de8a6def2d8d0a0f3d1b4a Author: Aseem Bansal Date: 2015-07-18T12:31:53Z Update core-program-structure.adoc - Added why the packages are imported by defaults and also removed the 6 part as two classes are also imported. - Changed the star import content as that was rendered as bold on the page. - is instead of it ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---