JBIDE-16940 - Fixing more sonar issues in JAX-RS plugins