HDDS-1296. Fix checkstyle issue from Nightly run. Contributed by Xiaoyu Yao. (#616)
This commit is contained in:
parent
8c95cb9d6b
commit
66a104bc57
@ -123,6 +123,7 @@ public Builder setBlockID(BlockID blockId) {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("checkstyle:hiddenfield")
|
||||||
public Builder setPipeline(Pipeline pipeline) {
|
public Builder setPipeline(Pipeline pipeline) {
|
||||||
this.pipeline = pipeline;
|
this.pipeline = pipeline;
|
||||||
return this;
|
return this;
|
||||||
|
@ -96,8 +96,6 @@
|
|||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
import javax.ws.rs.HEAD;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of keyManager.
|
* Implementation of keyManager.
|
||||||
*/
|
*/
|
||||||
@ -163,8 +161,8 @@ public void start(OzoneConfiguration configuration) {
|
|||||||
OZONE_BLOCK_DELETING_SERVICE_TIMEOUT,
|
OZONE_BLOCK_DELETING_SERVICE_TIMEOUT,
|
||||||
OZONE_BLOCK_DELETING_SERVICE_TIMEOUT_DEFAULT,
|
OZONE_BLOCK_DELETING_SERVICE_TIMEOUT_DEFAULT,
|
||||||
TimeUnit.MILLISECONDS);
|
TimeUnit.MILLISECONDS);
|
||||||
keyDeletingService = new KeyDeletingService(scmClient.getBlockClient(), this,
|
keyDeletingService = new KeyDeletingService(scmClient.getBlockClient(),
|
||||||
blockDeleteInterval, serviceTimeout, configuration);
|
this, blockDeleteInterval, serviceTimeout, configuration);
|
||||||
keyDeletingService.start();
|
keyDeletingService.start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@ public class ScmClient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ScmBlockLocationProtocol getBlockClient() {
|
ScmBlockLocationProtocol getBlockClient() {
|
||||||
return this.blockClient;
|
return this.blockClient;
|
||||||
}
|
}
|
||||||
|
|
||||||
StorageContainerLocationProtocol getContainerClient() {
|
StorageContainerLocationProtocol getContainerClient() {
|
||||||
|
Loading…
Reference in New Issue
Block a user