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 4420B200D3E for ; Thu, 16 Nov 2017 12:04:42 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 42CAC160BE6; Thu, 16 Nov 2017 11:04:42 +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 AFDF4160BE5 for ; Thu, 16 Nov 2017 12:04:41 +0100 (CET) Received: (qmail 69482 invoked by uid 500); 16 Nov 2017 11:04:40 -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 69469 invoked by uid 99); 16 Nov 2017 11:04:40 -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; Thu, 16 Nov 2017 11:04:40 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C5C19E02F3; Thu, 16 Nov 2017 11:04:40 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sunlan@apache.org To: commits@groovy.apache.org Message-Id: <379285e7137a4d89a9df0a98e2a8b88e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: groovy git commit: Minor refactoring Date: Thu, 16 Nov 2017 11:04:40 +0000 (UTC) archived-at: Thu, 16 Nov 2017 11:04:42 -0000 Repository: groovy Updated Branches: refs/heads/GROOVY_2_5_X a1f246222 -> e736f558c Minor refactoring (cherry picked from commit e6bcb1b) Project: http://git-wip-us.apache.org/repos/asf/groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/e736f558 Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/e736f558 Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/e736f558 Branch: refs/heads/GROOVY_2_5_X Commit: e736f558cbdc474e16a89fc5e5c2bff4c34f5fa4 Parents: a1f2462 Author: sunlan Authored: Thu Nov 16 19:02:13 2017 +0800 Committer: sunlan Committed: Thu Nov 16 19:04:34 2017 +0800 ---------------------------------------------------------------------- src/main/org/codehaus/groovy/ast/GenericsType.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/groovy/blob/e736f558/src/main/org/codehaus/groovy/ast/GenericsType.java ---------------------------------------------------------------------- diff --git a/src/main/org/codehaus/groovy/ast/GenericsType.java b/src/main/org/codehaus/groovy/ast/GenericsType.java index 3b8427a..c1be654 100644 --- a/src/main/org/codehaus/groovy/ast/GenericsType.java +++ b/src/main/org/codehaus/groovy/ast/GenericsType.java @@ -458,8 +458,7 @@ public class GenericsType extends ASTNode { } } } - if (!match) return false; - return true; + return match; } }