A quick fix for 2.0.1-SNAPSHOT. However I believe the way I changed the check does not make sense at all.

Change By: Jens Schumann (27/Apr/13 4:29 AM)
Attachment: WELD-1416.patch
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira