"scott.stark(a)jboss.org" wrote : I don't think the usage had come up yet.
|
It did now (see JBossPortal forum). :-)
And I already added the missing metadata locations methods - append, prepend, remove.
"scott.stark(a)jboss.org" wrote :
| Relying on modifiable return values is not a good api.
|
You mean the append, prepend methods or direct collection ref returned?
I already changed getClassPath/MetaDataLocations to return unmodifiable collection.
I also deprecated VFSDeploymentUnit::setClassPath and added removeClassPath(VirtualFile...
files) instead.
The setters should *not* exist on the user/client view.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204429#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...