Make private class final

This commit is contained in:
Gary Gregory 2023-11-05 14:37:59 -05:00
parent 563bf48964
commit 6dc61ad800
4 changed files with 4 additions and 4 deletions

View File

@ -122,7 +122,7 @@ public class BackgroundInitializer<T> extends AbstractConcurrentInitializer<T, E
}
private class InitializationTask implements Callable<T> {
private final class InitializationTask implements Callable<T> {
/** Stores the executor service to be destroyed at the end. */
private final ExecutorService execFinally;

View File

@ -418,7 +418,7 @@ public class FastDateParser implements DateParser, Serializable {
/**
* Parse format into Strategies
*/
private class StrategyParser {
private final class StrategyParser {
private final Calendar definingCalendar;
private int currentIdx;

View File

@ -45,7 +45,7 @@ import org.junit.jupiter.api.Test;
@SuppressWarnings("deprecation") // deliberate use of deprecated code
public class ArrayUtilsTest extends AbstractLangTest {
private class TestClass {
private final class TestClass {
// empty
}

View File

@ -86,7 +86,7 @@ public class ClassUtilsTest extends AbstractLangTest {
}
private static final class Inner {
private class DeeplyNested {
private final class DeeplyNested {
// empty
}
}