Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34537

Minimize duplication between HorizontalLayout and VerticalLayout classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Apache Flex 4.13.0
    • None
    • Spark: Layout

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              evolverine Mihai Chira
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: