Miscellaneous checkstyle fixes

Signed-off-by: Soby Chacko <soby.chacko@broadcom.com>
This commit is contained in:
Soby Chacko
2025-04-13 21:54:46 -04:00
committed by Ilayaperumal Gopinathan
parent 318bdfc7c1
commit d9e7ace996
212 changed files with 1206 additions and 945 deletions

View File

@@ -68,7 +68,7 @@ public class JsoupDocumentReader implements DocumentReader {
@Override
public List<Document> get() {
try (InputStream inputStream = htmlResource.getInputStream()) {
try (InputStream inputStream = this.htmlResource.getInputStream()) {
org.jsoup.nodes.Document doc = Jsoup.parse(inputStream, this.config.charset, "");
List<Document> documents = new ArrayList<>();
@@ -104,7 +104,7 @@ public class JsoupDocumentReader implements DocumentReader {
}
catch (IOException e) {
throw new RuntimeException("Failed to read HTML resource: " + htmlResource, e);
throw new RuntimeException("Failed to read HTML resource: " + this.htmlResource, e);
}
}