Thanks Matt and Gavin for finding and fixing. Sorry bout that!
On 12/11/2009, at 1:02 PM, Matt Drees wrote:
Hi,
Maybe it's too late for 1.0 (I see the tag was made already), but the reference
document for the Java SE numberguess example has an incorrect sentence:
"Note that it cannot use <literal>manager.getInstanceByType(Integer.class, new
AnnotationLiteral<Random>(){})</literal> as the JSF example does
because there will not be any active contexts like there is during a JSF request."
However, the JSF numberguess example doesn't use manager.getInstanceByType(), but
instead uses Instance.get().
I'm sending an email instead of creating a jira issue since the public release seems
impending, and I'm not sure a jira issue creation would get noticed in time.
-Matt
_______________________________________________
weld-dev mailing list
weld-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-dev