mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Add throwExceptionIfClosed(); to most public methods for classes implementing Closeable, https://github.com/OpenHFT/Chronicle-Core/issues/116
This commit is contained in:
@@ -6,6 +6,7 @@ public interface MapClosable extends Closeable {
|
||||
|
||||
@Override
|
||||
default boolean isClosed() {
|
||||
throw new UnsupportedOperationException();
|
||||
// if we don't know, pretend it is not.
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user