Community
Participate
Working Groups
if the argument to EcoreUtil.copy is null you get a NPE. This causes a fair bit of code bloat in clients that need to check for nulls before calling this method. A simple if (eObject == null) return null; would fix the problem
The change is committed to CVS for 2.5.
Fix available in HEAD: 2.5.0.I200901131800.
Fix available in HEAD: 2.5.0 (R200906151043).