Skip to content

Commit

Permalink
Fix javac and checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Evie Boland committed Dec 19, 2024
1 parent c7383c5 commit 6f59296
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.apache.yetus.audience.InterfaceAudience;

@InterfaceAudience.Private
public class RowStatisticsConfigurationUtil {
public final class RowStatisticsConfigurationUtil {

private RowStatisticsConfigurationUtil() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import org.slf4j.LoggerFactory;

@InterfaceAudience.Private
public class RowStatisticsTableUtil {
public final class RowStatisticsTableUtil {

private static final Logger LOG = LoggerFactory.getLogger(RowStatisticsTableUtil.class);
public static final String NAMESPACE = "stats";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import org.apache.yetus.audience.InterfaceAudience;

@InterfaceAudience.Private
public class RowStatisticsUtil {
public final class RowStatisticsUtil {

private RowStatisticsUtil() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ public Void answer(InvocationOnMock invocation) throws Throwable {
@Test
public void testMainIndexBuilder() throws Exception {
PrintStream oldPrintStream = System.err;
SecurityManager SECURITY_MANAGER = System.getSecurityManager();
LauncherSecurityManager newSecurityManager = new LauncherSecurityManager();
System.setSecurityManager(newSecurityManager);
ByteArrayOutputStream data = new ByteArrayOutputStream();
Expand All @@ -182,7 +181,6 @@ public void testMainIndexBuilder() throws Exception {
}
} finally {
System.setErr(oldPrintStream);
System.setSecurityManager(SECURITY_MANAGER);
}
}
}

0 comments on commit 6f59296

Please sign in to comment.