groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwagenleit...@apache.org
Subject [3/5] groovy git commit: removed unneeded method
Date Tue, 18 Jul 2017 01:57:10 GMT
removed unneeded method


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

Branch: refs/heads/GROOVY_2_6_X
Commit: 8d70cdb31a0fa3aff6ab78e909d98d8485832279
Parents: b05a763
Author: John Wagenleitner <jwagenleitner@apache.org>
Authored: Sun Jul 16 17:23:12 2017 -0700
Committer: John Wagenleitner <jwagenleitner@apache.org>
Committed: Mon Jul 17 18:55:15 2017 -0700

----------------------------------------------------------------------
 .../groovy/runtime/DefaultGroovyMethodsSupport.java         | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/8d70cdb3/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethodsSupport.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethodsSupport.java b/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethodsSupport.java
index 69f387a..e3ef111 100644
--- a/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethodsSupport.java
+++ b/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethodsSupport.java
@@ -90,15 +90,6 @@ public class DefaultGroovyMethodsSupport {
     }
 
     /**
-     * Close the AutoCloseable. Logging a warning if any problems occur.
-     *
-     * @param closeable the thing to close
-     */
-    public static void closeWithWarning(AutoCloseable closeable) {
-        tryClose(closeable, true); // ignore result
-    }
-
-    /**
      * Attempts to close the closeable returning rather than throwing
      * any Exception that may occur.
      *


Mime
View raw message