mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Use final
This commit is contained in:
parent
4c7f6147e9
commit
87272ad3a5
3 changed files with 5 additions and 5 deletions
|
@ -5,7 +5,7 @@ import com.google.inject.Provider;
|
|||
|
||||
public class PubKeyRingProvider implements Provider<PubKeyRing> {
|
||||
|
||||
private PubKeyRing pubKeyRing;
|
||||
private final PubKeyRing pubKeyRing;
|
||||
|
||||
@Inject
|
||||
public PubKeyRingProvider(KeyRing keyRing) {
|
||||
|
|
|
@ -29,7 +29,7 @@ import lombok.extern.slf4j.Slf4j;
|
|||
@Slf4j
|
||||
@Singleton
|
||||
public class CorruptedDatabaseFilesHandler {
|
||||
private List<String> corruptedDatabaseFiles = new ArrayList<>();
|
||||
private final List<String> corruptedDatabaseFiles = new ArrayList<>();
|
||||
|
||||
@Inject
|
||||
public CorruptedDatabaseFilesHandler() {
|
||||
|
|
|
@ -115,10 +115,10 @@ public class MathUtils {
|
|||
}
|
||||
|
||||
public static class MovingAverage {
|
||||
Deque<Long> window;
|
||||
private int size;
|
||||
final Deque<Long> window;
|
||||
private final int size;
|
||||
private long sum;
|
||||
private double outlier;
|
||||
private final double outlier;
|
||||
|
||||
// Outlier as ratio
|
||||
public MovingAverage(int size, double outlier) {
|
||||
|
|
Loading…
Add table
Reference in a new issue