Make private static classes final
This commit is contained in:
parent
9466984412
commit
d9a4b2a9e9
|
@ -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
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue