[ 
https://issues.apache.org/jira/browse/HDDS-6455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mohammad Arafat Khan updated HDDS-6455:
---------------------------------------
    Summary: Adding a Builder class to Freon ContentGenerator, so as to avoid 
Constructor TeleScoping  (was: Adding a Builder class to Freon 
ContentGenerator, so as to accept new parameters )

> Adding a Builder class to Freon ContentGenerator, so as to avoid Constructor 
> TeleScoping
> ----------------------------------------------------------------------------------------
>
>                 Key: HDDS-6455
>                 URL: https://issues.apache.org/jira/browse/HDDS-6455
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: freon, Ozone Filesystem
>            Reporter: Mohammad Arafat Khan
>            Assignee: Mohammad Arafat Khan
>            Priority: Minor
>
> The *ContentGenerator* class of the *freon suite* has multiple Parametrised 
> Constructors each having various different arguments that have to be 
> initialised, this affects the readability of the code. One way to solve this 
> is to incorporate a builder class for *ContentGenerator* class so that any 
> new parameters added in the future can be seamlessly added without the need 
> of creating a new constructor. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to