Skip to content

Commit

Permalink
suppress warning
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Apr 14, 2023
1 parent 09c6c19 commit 2b86d5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/io/cryostat/discovery/BuiltInDiscovery.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
import io.cryostat.platform.internal.PlatformDetectionStrategy;

import dagger.Lazy;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Promise;

Expand Down Expand Up @@ -89,6 +90,9 @@ public class BuiltInDiscovery extends AbstractVerticle implements Consumer<Targe
this.logger = logger;
}

@SuppressFBWarnings(
value = "RV_RETURN_VALUE_IGNORED_BAD_PRACTICE",
justification = "executor.submit() return value is ignored, the Future is never needed")
@Override
public void start(Promise<Void> start) {
storage.addTargetDiscoveryListener(this);
Expand Down

0 comments on commit 2b86d5b

Please sign in to comment.