Another Java Generic ? removed..

Trying to get
https://travis-ci.org/commons-rdf/commons-rdf/builds/45230416
to pass..