Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 87415200B9E for ; Sat, 8 Oct 2016 18:37:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 85E77160ADF; Sat, 8 Oct 2016 16:37:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C3288160AAD for ; Sat, 8 Oct 2016 18:37:12 +0200 (CEST) Received: (qmail 83857 invoked by uid 500); 8 Oct 2016 16:37:11 -0000 Mailing-List: contact commits-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list commits@groovy.apache.org Received: (qmail 83848 invoked by uid 99); 8 Oct 2016 16:37:11 -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, 08 Oct 2016 16:37:11 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CCE74E056F; Sat, 8 Oct 2016 16:37:11 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: shils@apache.org To: commits@groovy.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: groovy git commit: StaticTypesCallSiteWriter#makeGetPropertySite: remove unnecessary check for isXxx getter method on Object Date: Sat, 8 Oct 2016 16:37:11 +0000 (UTC) archived-at: Sat, 08 Oct 2016 16:37:13 -0000 Repository: groovy Updated Branches: refs/heads/GROOVY_2_4_X c1cb4baef -> 6cc6afb32 StaticTypesCallSiteWriter#makeGetPropertySite: remove unnecessary check for isXxx getter method on Object Project: http://git-wip-us.apache.org/repos/asf/groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/6cc6afb3 Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/6cc6afb3 Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/6cc6afb3 Branch: refs/heads/GROOVY_2_4_X Commit: 6cc6afb32b6dde5918566becd49ab31e98839590 Parents: c1cb4ba Author: Shil Sinha Authored: Sat Oct 8 12:23:12 2016 -0400 Committer: Shil Sinha Committed: Sat Oct 8 12:36:52 2016 -0400 ---------------------------------------------------------------------- .../groovy/classgen/asm/sc/StaticTypesCallSiteWriter.java | 3 --- 1 file changed, 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/groovy/blob/6cc6afb3/src/main/org/codehaus/groovy/classgen/asm/sc/StaticTypesCallSiteWriter.java ---------------------------------------------------------------------- diff --git a/src/main/org/codehaus/groovy/classgen/asm/sc/StaticTypesCallSiteWriter.java b/src/main/org/codehaus/groovy/classgen/asm/sc/StaticTypesCallSiteWriter.java index 11a7831..e7ac20d 100644 --- a/src/main/org/codehaus/groovy/classgen/asm/sc/StaticTypesCallSiteWriter.java +++ b/src/main/org/codehaus/groovy/classgen/asm/sc/StaticTypesCallSiteWriter.java @@ -171,9 +171,6 @@ public class StaticTypesCallSiteWriter extends CallSiteWriter implements Opcodes if (getterMethod == null) { getterMethod = OBJECT_TYPE.getGetterMethod(getterName); } - if (getterMethod == null) { - getterMethod = OBJECT_TYPE.getGetterMethod(altGetterName); - } if (getterMethod != null) { MethodCallExpression call = new MethodCallExpression(