JERSEY-224 part II - Findbugs warnings

Change-Id: I21c39e8a55433026d7bc7b0f0535342115e159cf
Merge "JERSEY-224 part II - Findbugs warnings"