From 6b12f2e098da82b76f19373813ee1ca405939f94 Mon Sep 17 00:00:00 2001 From: smarkwal Date: Fri, 20 Sep 2024 22:52:46 +0200 Subject: [PATCH] Code: Add TODO comments. [skip ci] --- jarhc/src/main/java/org/jarhc/analyzer/DependenciesAnalyzer.java | 1 + jarhc/src/main/java/org/jarhc/analyzer/JarFilesAnalyzer.java | 1 + 2 files changed, 2 insertions(+) diff --git a/jarhc/src/main/java/org/jarhc/analyzer/DependenciesAnalyzer.java b/jarhc/src/main/java/org/jarhc/analyzer/DependenciesAnalyzer.java index db0faf86..0d8cc5e1 100644 --- a/jarhc/src/main/java/org/jarhc/analyzer/DependenciesAnalyzer.java +++ b/jarhc/src/main/java/org/jarhc/analyzer/DependenciesAnalyzer.java @@ -186,6 +186,7 @@ private boolean matches(JarFile jarFile, Dependency dependency) { } private String getCoordinates(JarFile jarFile) { + // TODO: return "[timeout]" if Maven Search API request timed out String coordinates = jarFile.getCoordinates(); if (coordinates == null) { return UNKNOWN; diff --git a/jarhc/src/main/java/org/jarhc/analyzer/JarFilesAnalyzer.java b/jarhc/src/main/java/org/jarhc/analyzer/JarFilesAnalyzer.java index b70ead1e..75aca4bb 100644 --- a/jarhc/src/main/java/org/jarhc/analyzer/JarFilesAnalyzer.java +++ b/jarhc/src/main/java/org/jarhc/analyzer/JarFilesAnalyzer.java @@ -80,6 +80,7 @@ private String getChecksumInfo(JarFile jarFile) { } private String getCoordinates(JarFile jarFile) { + // TODO: return "[timeout]" if Maven Search API request timed out String coordinates = jarFile.getCoordinates(); if (coordinates == null || coordinates.isEmpty()) { return UNKNOWN;