Remove yang-test
[controller.git] / opendaylight / config / yang-test / src / main / java / org / opendaylight / controller / config / yang / test / impl / CheckedAutoCloseable.java
diff --git a/opendaylight/config/yang-test/src/main/java/org/opendaylight/controller/config/yang/test/impl/CheckedAutoCloseable.java b/opendaylight/config/yang-test/src/main/java/org/opendaylight/controller/config/yang/test/impl/CheckedAutoCloseable.java
deleted file mode 100644 (file)
index cfeb7c7..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-package org.opendaylight.controller.config.yang.test.impl;
-
-import com.google.common.base.Preconditions;
-
-public class CheckedAutoCloseable implements AutoCloseable {
-    private boolean closed = false;
-
-    @Override
-    public synchronized void close() throws Exception {
-        Preconditions.checkState(closed == false);
-        this.closed = true;
-    }
-
-    public synchronized boolean isClosed() {
-        return this.closed;
-    }
-}