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