Attila Doroszlai created HDDS-6713:
--------------------------------------
Summary: Avoid the need to cast to MiniOzoneHAClusterImpl
Key: HDDS-6713
URL: https://issues.apache.org/jira/browse/HDDS-6713
Project: Apache Ozone
Issue Type: Improvement
Components: test
Reporter: Attila Doroszlai
{{MiniOzoneHAClusterImpl.Builder}} should return HA-specific implementation to
avoid forcing test cases to cast the return value.
{code:title=https://github.com/apache/ozone/blob/d9c56aec00d57a6d26b3b8ec3946e7eb93531ed0/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/MiniOzoneHAClusterImpl.java#L393}
public MiniOzoneCluster build() throws IOException {
{code}
To allow chained method calls, it should also change return type in methods
inherited from the parent class:
{code:title=}
public Builder setClusterId(String id) {
{code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]