You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by jw...@apache.org on 2017/07/18 01:48:54 UTC
[2/6] groovy git commit: removed unneeded method
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/85295fb0
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/85295fb0
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/85295fb0
Branch: refs/heads/master
Commit: 85295fb0eeaed8fd41e30e40b298954f6f429cb8
Parents: b9541f9
Author: John Wagenleitner <jw...@apache.org>
Authored: Sun Jul 16 17:23:12 2017 -0700
Committer: John Wagenleitner <jw...@apache.org>
Committed: Mon Jul 17 18:45:24 2017 -0700
----------------------------------------------------------------------
.../groovy/runtime/DefaultGroovyMethodsSupport.java | 9 ---------
1 file changed, 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/85295fb0/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.
*