Repository: groovy
Updated Branches:
  refs/heads/master 98e856479 -> c04ba7206


Remove redundant closure parameter


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/c04ba720
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/c04ba720
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/c04ba720

Branch: refs/heads/master
Commit: c04ba7206c242cedd9a839a2eac0cf5f0ec56d18
Parents: 98e8564
Author: Daniel Sun <sun...@apache.org>
Authored: Mon Nov 5 00:21:35 2018 +0800
Committer: Daniel Sun <sun...@apache.org>
Committed: Mon Nov 5 00:21:35 2018 +0800

----------------------------------------------------------------------
 src/main/groovy/groovy/util/GProperties.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/c04ba720/src/main/groovy/groovy/util/GProperties.groovy
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/util/GProperties.groovy 
b/src/main/groovy/groovy/util/GProperties.groovy
index 0ed3239..19ecc58 100644
--- a/src/main/groovy/groovy/util/GProperties.groovy
+++ b/src/main/groovy/groovy/util/GProperties.groovy
@@ -262,7 +262,7 @@ class GProperties extends Properties {
 
     @Override
     synchronized void load(Reader reader) throws IOException {
-        reader.withReader { it ->
+        reader.withReader {
             super.load(it)
             importProperties()
         }

Reply via email to