public class DefaultGroovyMethodsSupport extends Object
Support methods for DefaultGroovyMethods and PluginDefaultMethods.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static void |
closeQuietly(Closeable c)Close the Closeable. |
|
public static void |
closeWithWarning(Closeable closeable)Close the Closeable. |
Close the Closeable. Ignore any problems that might occur.
c - the thing to closeClose the Closeable. Logging a warning if any problems occur.
closeable - the thing to close