Added InterProcessLock.newCondition default implementation

This commit is contained in:
leventov
2015-05-18 13:51:59 +01:00
parent 078068d8ff
commit 9a228a6017
@@ -46,5 +46,8 @@ public interface InterProcessLock extends Lock {
*/
@NotNull
@Override
Condition newCondition();
default Condition newCondition() {
throw new UnsupportedOperationException(
"Conditions are not supported by inter-process locks");
}
}