tuxji commented on code in PR #1137:
URL: https://github.com/apache/daffodil/pull/1137#discussion_r1470298570
##########
daffodil-core/src/main/scala/org/apache/daffodil/core/dsom/walker/AbstractDSOMWalker.scala:
##########
@@ -35,6 +35,7 @@ trait CommonContextView {
trait TermView extends CommonContextView {
def isArray: Boolean
def isOptional: Boolean
+ final def isArrayOrOptional: Boolean = isArray || isOptional
Review Comment:
Ask your IDEA if there are any uses of` this `isArrayOrOptional` function.
Code coverage says this function is not covered by tests, which implies that
this function is never used anywhere else (if so, we should remove it).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]