Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2305

Remove some Unused Term Methods

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • None
    • None

    Description

      There are some methods in Term.scala that are no longer used, and can be removed, along with their associated tests.

      possibleFirstChildElementsInInfoset
      The method couldBeLastElementInModelGroup, which has an abstract definition below, is also not used and it should be deleted. (The implementations of these are in ModelGroup and ElementBase.)

      Ditto for possibleFirstChildTerms
      Ditto for isSequendceChild
      Ditto for possibleNextSiblingTerms

      hasLaterRequiredSiblings is used only by unit tests, so that AND the unit tests looking at it can go away (ensure this doesn't decrease coverage if other methods are called)
      Same for hasPriorRequiredSiblings.

      priorSibling is unused and can be deleted.

      Attachments

        Activity

          People

            okilo@tresys.com Olabusayo Kilo
            okilo@tresys.com Olabusayo Kilo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: