Sonar reports unclosed resources,
but jvpp connections are closed in JVppBenchmark.tearDown.
It is only a benchmark,
so if JMH would crash and not call tearDown,
then we don't really care.
Change-Id: I60ae60c78610b8c07076c7d2a94917e8316d03dd
Signed-off-by: Marek Gradzki <[email protected]>
return aclId;
}
+ // Sonar reports unclosed resources, but jvpp connections are closed in JVppBenchmark.tearDown.
+ // It is only a benchmark, so if JMH would crash and not call tearDown, then we don't really care.
+ @SuppressWarnings("squid:S2095")
@Override
protected void connect(final JVppRegistry registry) throws IOException {
jvppCore = new FutureJVppCoreFacade(registry, new JVppCoreImpl());
classifyTableProvider = new ClassifyTableProviderImpl(tableSetSize);
}
+ // Sonar reports unclosed resources, but jvpp connection is closed in JVppBenchmark.tearDown.
+ // It is only a benchmark, so if JMH would crash and not call tearDown, then we don't really care.
+ @SuppressWarnings("squid:S2095")
@Override
protected void connect(final JVppRegistry registry) throws IOException {
jvppCore = new FutureJVppCoreFacade(registry, new JVppCoreImpl());