You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Olabusayo Kilo (Jira)" <ji...@apache.org> on 2020/03/25 17:31:00 UTC
[jira] [Updated] (DAFFODIL-2305) Remove some Unused Term Methods
[ https://issues.apache.org/jira/browse/DAFFODIL-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olabusayo Kilo updated DAFFODIL-2305:
-------------------------------------
Issue Type: Task (was: Bug)
> Remove some Unused Term Methods
> -------------------------------
>
> Key: DAFFODIL-2305
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2305
> Project: Daffodil
> Issue Type: Task
> Affects Versions: 2.5.0
> Reporter: Olabusayo Kilo
> Assignee: Olabusayo Kilo
> Priority: Major
> 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)