JPetstore Warning Cleanup

Make changes as indicated through sonar scans.
Merge pull request #260 from hazendaz/master

JPetstore Warning Cleanup