Steve Lawrence created DAFFODIL-3019:
----------------------------------------
Summary: Remove java.util.Optional's from new API
Key: DAFFODIL-3019
URL: https://issues.apache.org/jira/browse/DAFFODIL-3019
Project: Daffodil
Issue Type: Bug
Components: API
Affects Versions: 4.0.0
Reporter: Steve Lawrence
Fix For: 4.0.0
The new API has a number of functions that have "Optional" parameters. But it
sounds like normal Java convention is to not have "Optional" parameters but to
instead just allow null to indicate optionality.
Since our API is Java-first, we should remove Optionals and ensure we have
functions that allow null to be be passed. And update our Scala code to handle
null values, possibly wrapping the argument in an Option so that internally we
follow normal scala conventions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)