Skip to content

Commit 11b3583

Browse files
committed
HHH-10040 - Fix problem with incomplete Iterator impl
1 parent 2c1b7ca commit 11b3583

File tree

1 file changed

+5
-0
lines changed
  • hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/util

1 file changed

+5
-0
lines changed

hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/util/Caches.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,11 @@ public boolean hasNext() {
319319
public Object next() {
320320
return entryIterator.next().getKey();
321321
}
322+
323+
@Override
324+
public void remove() {
325+
throw new UnsupportedOperationException( "remove() not supported" );
326+
}
322327
};
323328
}
324329

0 commit comments

Comments
 (0)