Alas collections4 is not a drop in replacement for collections15. I've bundled collections15 as a dquilt patch in my packaging of JUNG. I tried some find and replace tricks based off of
http://commons.apache.org/proper/commons-collections/release_4_0.html but got in over my head as I haven't been programming in Java for several years now.
Patches that complete the transition to collections4 are more than welcome:
On Fri Feb 06 2015 at 10:04:50 AM Emmanuel Bourg <
ebourg@apache.org> wrote:
I would add that we now have libcommons-collections4-java in Debian,
which is the "official" generified version of the commons-collections
API. So if someone plans to package jung I think simply replacing the
import statements from org.apache.commons.collections15 to
org.apache.commons.collections4 should do the trick.
If you need some help you can also start the packaging with the
libcollections15-java package in Wheezy and then ping me, I'll do the
substitution.
Emmanuel Bourg