Skip to content

Commit

Permalink
RANGER-4196: fix PMD violations in earlier commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mneethiraj committed Aug 26, 2023
1 parent f0ea284 commit 66bce09
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import org.apache.hadoop.metrics2.MetricsSystem;
import org.apache.hadoop.metrics2.lib.DefaultMetricsSystem;
import org.apache.ranger.metrics.RangerMetricsSystemWrapper;
import org.apache.ranger.server.tomcat.EmbeddedServer;
import org.apache.ranger.server.tomcat.EmbeddedServerMetricsCollector;
import org.junit.*;

Expand All @@ -34,7 +33,6 @@ public class TestRangerMetricsContainerSource {

private static final String CONTAINER_METRIC_SOURCE_NAME = "RangerContainer";
private static RangerMetricsSystemWrapper rangerMetricsSystemWrapper;
private static EmbeddedServer tomcatServer;

private EmbeddedServerMetricsCollector embeddedServerMetricsCollector;

Expand All @@ -52,8 +50,7 @@ public static void init(){
}

@AfterClass
public static void tearDown()
{
public static void tearDownAfterClass() {
metricsSystem.shutdown();
}

Expand Down

0 comments on commit 66bce09

Please sign in to comment.