WELD-1395 Analyze findbugs warnings

https://issues.jboss.org/browse/WELD-1395