Olabusayo Kilo created DAFFODIL-2305:
----------------------------------------
Summary: Remove some Unused Term Methods
Key: DAFFODIL-2305
URL: https://issues.apache.org/jira/browse/DAFFODIL-2305
Project: Daffodil
Issue Type: Bug
Affects Versions: 2.5.0
Reporter: Olabusayo Kilo
Assignee: Olabusayo Kilo
Fix For: 2.6.0
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)