public class SafetyUtils
extends java.lang.Object
| Constructor and Description |
|---|
SafetyUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
tryClose(java.lang.Object obj)
Helper method which checks if Object is an instance of AutoCloseable and calls close() on it.
|