I don't personally see much wrong with the code snippet today, it seems pretty clear…
On 15 Dec 2011, at 16:24, Adrian Gonzalez wrote:
Hello,
This question has surely already been asked, but I'm looking over and over the
following code :
if (conversation.isTransient()) {
conversation.begin();
}
Is it possible to create a single method in Conversation class to handle this ?
Something like conversation.beginIfTransient() ? (of course with a better name :) ).
WDYT ?
_______________________________________________
cdi-dev mailing list
cdi-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev