The following document contains the results of PMD 7.21.0.

Violations By Priority

Priority 3

io/wcm/caravan/hal/docs/impl/HalDocsBundleTracker.java

Rule Violation Line
SingularField Perhaps 'bundleContext' could be replaced by a local variable. 57
ReplaceHashtableWithMap Consider replacing this Hashtable with the newer java.util.Map 92

io/wcm/caravan/hal/docs/impl/HalDocsServlet.java

Rule Violation Line
AvoidCatchingGenericException Avoid catching Throwable in try-catch block 102

io/wcm/caravan/hal/docs/impl/JsonSchemaBundleTracker.java

Rule Violation Line
SingularField Perhaps 'bundleContext' could be replaced by a local variable. 62

io/wcm/caravan/hal/docs/impl/TemplateRenderer.java

Rule Violation Line
SingularField Perhaps 'handlebars' could be replaced by a local variable. 51

io/wcm/caravan/hal/docs/impl/reader/ServiceModelReader.java

Rule Violation Line
AvoidCatchingGenericException Avoid catching Throwable in try-catch block 66

Files

io/wcm/caravan/hal/docs/impl/HalDocsBundleTracker.java

Rule Violation Priority Line
SingularField Perhaps 'bundleContext' could be replaced by a local variable. 3 57
ReplaceHashtableWithMap Consider replacing this Hashtable with the newer java.util.Map 3 92

io/wcm/caravan/hal/docs/impl/HalDocsServlet.java

Rule Violation Priority Line
AvoidCatchingGenericException Avoid catching Throwable in try-catch block 3 102

io/wcm/caravan/hal/docs/impl/JsonSchemaBundleTracker.java

Rule Violation Priority Line
SingularField Perhaps 'bundleContext' could be replaced by a local variable. 3 62

io/wcm/caravan/hal/docs/impl/TemplateRenderer.java

Rule Violation Priority Line
SingularField Perhaps 'handlebars' could be replaced by a local variable. 3 51

io/wcm/caravan/hal/docs/impl/reader/ServiceModelReader.java

Rule Violation Priority Line
AvoidCatchingGenericException Avoid catching Throwable in try-catch block 3 66

Back to top

Version: 0.6.1-SNAPSHOT. Last Published: 2026-03-10.