From commits-return-8405-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Sun Apr 28 06:03:29 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id EA8FE1807AA for ; Sun, 28 Apr 2019 08:03:28 +0200 (CEST) Received: (qmail 54762 invoked by uid 500); 28 Apr 2019 06:03:28 -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 54593 invoked by uid 99); 28 Apr 2019 06:03:28 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Apr 2019 06:03:28 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id B92F085490; Sun, 28 Apr 2019 06:03:27 +0000 (UTC) Date: Sun, 28 Apr 2019 06:03:30 +0000 To: "commits@groovy.apache.org" Subject: [groovy] 03/05: fix codenarc warnings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: paulk@apache.org In-Reply-To: <155643140705.13901.6451064501652916002@gitbox.apache.org> References: <155643140705.13901.6451064501652916002@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: groovy X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 08cde8bef612639125a0841c295c8c2a358c32bc X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20190428060327.B92F085490@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. paulk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/groovy.git commit 08cde8bef612639125a0841c295c8c2a358c32bc Author: Paul King AuthorDate: Sun Apr 28 00:22:38 2019 +1000 fix codenarc warnings --- src/test/org/codehaus/groovy/classgen/GenericsGenTest.groovy | 2 +- src/test/org/codehaus/groovy/classgen/InterfaceTest.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/org/codehaus/groovy/classgen/GenericsGenTest.groovy b/src/test/org/codehaus/groovy/classgen/GenericsGenTest.groovy index f3d39f9..35f4ef7 100644 --- a/src/test/org/codehaus/groovy/classgen/GenericsGenTest.groovy +++ b/src/test/org/codehaus/groovy/classgen/GenericsGenTest.groovy @@ -88,6 +88,6 @@ class GenericsGenTest extends GroovyTestCase { File tempFile = File.createTempDir(prefix, suffix) tempFile.deleteOnExit() filesToDelete.add(tempFile) - return tempFile; + return tempFile } } diff --git a/src/test/org/codehaus/groovy/classgen/InterfaceTest.groovy b/src/test/org/codehaus/groovy/classgen/InterfaceTest.groovy index f267287..f57a71b 100644 --- a/src/test/org/codehaus/groovy/classgen/InterfaceTest.groovy +++ b/src/test/org/codehaus/groovy/classgen/InterfaceTest.groovy @@ -82,6 +82,6 @@ class InterfaceTest extends GroovyTestCase { File tempFile = File.createTempDir(prefix, suffix); tempFile.deleteOnExit() filesToDelete.add(tempFile) - return tempFile; + return tempFile } }