Community
Participate
Working Groups
I very often use the Collections method singleton, singletonList, singletonMap methods. While converting some code into ecore objects, I found that there are no corresponding methods in the ECollections class. It would be great if those methods could be added. While searching, I found a ModifiableSingeltonEList as an inner class in the ItemAdapterProvider. Perhaps that one could be moved out and be used in a singeltonEList() method?
Support for singletonEList and singletonEMap have been committed to CVS for 2.7.
The fix is available in 3.7RC3 and later.