Make private static classes final

This commit is contained in:
Gary Gregory 2023-10-10 16:34:55 -04:00
parent 9466984412
commit d9a4b2a9e9
2 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ public class CSVBenchmark {
return callback.count; return callback.count;
} }
private static class CountingReaderCallback implements org.skife.csv.ReaderCallback { private static final class CountingReaderCallback implements org.skife.csv.ReaderCallback {
public int count; public int count;
@Override @Override

View File

@ -48,7 +48,7 @@ public class PerformanceTest {
} }
// Container for basic statistics // Container for basic statistics
private static class Stats { private static final class Stats {
final int count; final int count;
final int fields; final int fields;
Stats(final int c, final int f) { Stats(final int c, final int f) {