JPetstore Warning Cleanup

Make changes as indicated through sonar scans.