"scott.stark(a)jboss.org" wrote : I guess the main argument for having
x.merge(...) merge into x is is that if you don't have jboss a metadata instance to
merge you have strange code vs just passing in null:
If we merge into self, the argument stands. If we merge into a new object graph and there
is no spec you would get:
jboss.merged(merged, null);
As a counter point: the instance merge methods would be more in line with that static
ones. Both having the same arguments with a static merge method returning the result and
an instance merge method working on this.
For me only the merged view is important, so I don't mind what happens to the original
objects.
What happens when we get another view / annotation view?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097512#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...