Skip to content

Commit

Permalink
suppress spurious warning
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Dec 7, 2021
1 parent a189199 commit 3f4d7be
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
import io.cryostat.net.web.http.HttpMimeType;
import io.cryostat.util.HttpStatusCodeIdentifier;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import io.vertx.core.Vertx;
import io.vertx.ext.web.client.WebClient;
import io.vertx.ext.web.multipart.MultipartForm;
Expand All @@ -75,6 +76,7 @@ class RemoteReportGenerator extends AbstractReportGeneratorService {
}

@Override
@SuppressFBWarnings("NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE")
public CompletableFuture<Path> exec(Path recording, Path destination) {
String reportGenerator = env.getEnv("CRYOSTAT_REPORT_GENERATOR");
logger.info("POSTing {} to {}", recording, reportGenerator);
Expand Down

0 comments on commit 3f4d7be

Please sign in to comment.