Mihai Chira created FLEX-34537:
----------------------------------

             Summary: Minimize duplication between HorizontalLayout and 
VerticalLayout classes
                 Key: FLEX-34537
                 URL: https://issues.apache.org/jira/browse/FLEX-34537
             Project: Apache Flex
          Issue Type: Bug
          Components: Spark: Layout
    Affects Versions: Apache Flex 4.13.0
            Reporter: Mihai Chira
            Priority: Minor


HorizontalLayout and VerticalLayout share most of their code and logic. The 
only differences are in comments and variable / function names. This introduces 
the risk that bugs found in one of them might not be transferred to the other 
one as well. Same for added features.

Their common code (around 90%) could be placed inside a common ancestor or 
inside a class member. I personally vote for common ancestor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to