Add a referenceset in Java 4.x

0
For earlier version this worked in Java: // create a new list List<IMendixIdentifier> newRefSet = new ArrayList<IMendixIdentifier>(); // add this found assocdata to it newRefSet.add(assocdata.getId()); // put it in object readobj.setValue(c, fieldname, newRefSet); But it generates an error in 4.5.2: importAssociations java.util.ArrayList cannot be cast to scala.collection.JavaConversions$MutableBufferWrapper What is the correct way to do this?
asked
0 answers