From 11b358305aec9b2c2098787af2512c8025ef0336 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Wed, 19 Aug 2015 12:21:57 -0500 Subject: [PATCH] HHH-10040 - Fix problem with incomplete Iterator impl --- .../java/org/hibernate/cache/infinispan/util/Caches.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/util/Caches.java b/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/util/Caches.java index f92e848f4e..cc3211f8d7 100644 --- a/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/util/Caches.java +++ b/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/util/Caches.java @@ -319,6 +319,11 @@ public class Caches { public Object next() { return entryIterator.next().getKey(); } + + @Override + public void remove() { + throw new UnsupportedOperationException( "remove() not supported" ); + } }; }