3.7.2 Gotchas

Using the beta of 3.7.2 in our dev environment at the moment we’ve noticed a gotcha you might want to be aware of if you are working a lot against the Openfire API.

We were doing checks like this:

if (getMUCService(ventureName).getSysadmins().contains(userJID.toBareJID())) {

chatHost = true;

}

MultiUserChatService getSysadmins() has changed signature from

Collection getSysadmins();

to

Collection getSysadmins();

Because the signature of Collection is boolean contains(java.lang.Object o); and not boolean contains(E e) our code didn’t stop compiling, but we suddenly found no-one was a sysadmin.

Just something to bear in mind - will add any more we see.