HDDS-1598. Fix Ozone checkstyle issues on trunk. Contributed by Elek, Marton. (#854)
This commit is contained in:
parent
83549dbbea
commit
ec92ca6575
@ -51,8 +51,8 @@ public final class SCMContainerPlacementRackAware extends SCMCommonPolicy {
|
||||
LoggerFactory.getLogger(SCMContainerPlacementRackAware.class);
|
||||
private final NetworkTopology networkTopology;
|
||||
private boolean fallback;
|
||||
private int RACK_LEVEL = 1;
|
||||
private int MAX_RETRY= 3;
|
||||
private static final int RACK_LEVEL = 1;
|
||||
private static final int MAX_RETRY= 3;
|
||||
|
||||
/**
|
||||
* Constructs a Container Placement with rack awareness.
|
||||
|
@ -53,7 +53,7 @@ public class TestSCMContainerPlacementRackAware {
|
||||
// policy prohibit fallback
|
||||
private SCMContainerPlacementRackAware policyNoFallback;
|
||||
// node storage capacity
|
||||
private final long STORAGE_CAPACITY = 100L;
|
||||
private static final long STORAGE_CAPACITY = 100L;
|
||||
|
||||
@Before
|
||||
public void setup() {
|
||||
|
Loading…
Reference in New Issue
Block a user