[jboss-jira] [JBoss JIRA] (WFLY-6764) Too much code duplication between AddStepHandler and BoottimeAddStepHandler

Paul Ferraro (JIRA) issues at jboss.org
Thu Jun 23 11:58:00 EDT 2016


     [ https://issues.jboss.org/browse/WFLY-6764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Ferraro updated WFLY-6764:
-------------------------------
    Description: As the logic in AddStepHandler grows, it needs to be duplicated by BoottimeAddStepHandler, since BoottimeAddStepHandler extends AbstractBoottimeAddStepHandler.  To simplify maintenance of these classes, we should have BoottimeAddStepHandler extend AddStepHandler instead, and reimplement the logic from AbstractBoottimeAddStepHandler.  (was: As the logic in AddStepHandler grows, it needs to be duplicated by BoottimeAddStepHandler, since it extends AbstractBoottimeAddStepHandler.  To simplify maintenance of these classes, we should have BoottimeAddStepHandler extends AddStepHandler and reimplement the logic from AbstractBoottimeAddStepHandler.)


> Too much code duplication between AddStepHandler and BoottimeAddStepHandler
> ---------------------------------------------------------------------------
>
>                 Key: WFLY-6764
>                 URL: https://issues.jboss.org/browse/WFLY-6764
>             Project: WildFly
>          Issue Type: Enhancement
>          Components: Clustering
>    Affects Versions: 10.0.0.Final
>            Reporter: Paul Ferraro
>            Assignee: Paul Ferraro
>             Fix For: 11.0.0.Alpha1
>
>
> As the logic in AddStepHandler grows, it needs to be duplicated by BoottimeAddStepHandler, since BoottimeAddStepHandler extends AbstractBoottimeAddStepHandler.  To simplify maintenance of these classes, we should have BoottimeAddStepHandler extend AddStepHandler instead, and reimplement the logic from AbstractBoottimeAddStepHandler.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list