HDDS-1598. Fix Ozone checkstyle issues on trunk. Contributed by Elek, Marton. (#854)

This commit is contained in:
Elek, Márton 2019-05-27 23:40:51 +02:00 committed by Bharat Viswanadham
parent 83549dbbea
commit ec92ca6575
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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() {