@@ -119,7 +120,7 @@ public class ConcurrentGroupMap<K, V> extends ConcurrentHashMap<K, V> implement
...
@@ -119,7 +120,7 @@ public class ConcurrentGroupMap<K, V> extends ConcurrentHashMap<K, V> implement
if(result==null){
if(result==null){
result=newHashSet<>();
result=newHashSet<>();
// add all the groups into the group set
// add all the groups into the group set
Iterator<K>iterator=keySet().iterator();
Iterator<K>iterator=((ConcurrentMap)this).keySet().iterator();// Cast prevents Java compatibility issue as described in OF-1116. Remove the cast when Java 7 support is dropped from Openfire.