---
date_published: 2026-10-08
date_modified: 2026-10-08
canonical_url: https://metricshub.org/simple-http-java/pmd.html
---

# PMD Results

The following document contains the results of [PMD](https://pmd.github.io) 7.7.0.

## Violations By Priority

### Priority 3

#### org/metricshub/http/HttpClient.java

| Rule | Violation | Line |
| --- | --- | --- |
| [EmptyCatchBlock](https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_errorprone.html#emptycatchblock) | Avoid empty catch blocks | [112](./xref/org/metricshub/http/HttpClient.html#L112) |

### Priority 4

#### org/metricshub/http/ThreadSafeNoCacheAuthenticator.java

| Rule | Violation | Line |
| --- | --- | --- |
| [UselessParentheses](https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_codestyle.html#uselessparentheses) | Useless parentheses. | [175](./xref/org/metricshub/http/ThreadSafeNoCacheAuthenticator.html#L175) |
| [UselessParentheses](https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_codestyle.html#uselessparentheses) | Useless parentheses. | [180](./xref/org/metricshub/http/ThreadSafeNoCacheAuthenticator.html#L180) |

## Files

### org/metricshub/http/HttpClient.java

| Rule | Violation | Priority | Line |
| --- | --- | --- | --- |
| [EmptyCatchBlock](https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_errorprone.html#emptycatchblock) | Avoid empty catch blocks | 3 | [112](./xref/org/metricshub/http/HttpClient.html#L112) |

### org/metricshub/http/ThreadSafeNoCacheAuthenticator.java

| Rule | Violation | Priority | Line |
| --- | --- | --- | --- |
| [UselessParentheses](https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_codestyle.html#uselessparentheses) | Useless parentheses. | 4 | [175](./xref/org/metricshub/http/ThreadSafeNoCacheAuthenticator.html#L175) |
| [UselessParentheses](https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_codestyle.html#uselessparentheses) | Useless parentheses. | 4 | [180](./xref/org/metricshub/http/ThreadSafeNoCacheAuthenticator.html#L180) |
