groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject groovy git commit: entrySet should return a Set of Entries (closes #410)
Date Sun, 11 Sep 2016 22:25:45 GMT
Repository: groovy
Updated Branches:
  refs/heads/master e219dd8dc -> 0d6c00081


entrySet should return a Set of Entries (closes #410)

So we don't have to cast it


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

Branch: refs/heads/master
Commit: 0d6c000814f3de99cdc18397f6ee6dba5166e6f8
Parents: e219dd8
Author: AarjavP <AarjavP@users.noreply.github.com>
Authored: Fri Sep 2 18:56:32 2016 -0400
Committer: paulk <paulk@asert.com.au>
Committed: Mon Sep 12 08:25:07 2016 +1000

----------------------------------------------------------------------
 .../groovy-sql/src/main/java/groovy/sql/GroovyRowResult.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/0d6c0008/subprojects/groovy-sql/src/main/java/groovy/sql/GroovyRowResult.java
----------------------------------------------------------------------
diff --git a/subprojects/groovy-sql/src/main/java/groovy/sql/GroovyRowResult.java b/subprojects/groovy-sql/src/main/java/groovy/sql/GroovyRowResult.java
index 198977b..00224bf 100644
--- a/subprojects/groovy-sql/src/main/java/groovy/sql/GroovyRowResult.java
+++ b/subprojects/groovy-sql/src/main/java/groovy/sql/GroovyRowResult.java
@@ -132,7 +132,7 @@ public class GroovyRowResult extends GroovyObjectSupport implements Map
{
         return result.containsValue(value);
     }
 
-    public Set entrySet() {
+    public Set<Map.Entry> entrySet() {
         return result.entrySet();
     }
 


Mime
View raw message