mbeckerle opened a new pull request #226: Sick of NPE. lexicalParent is now 
optLexicalParent and is Option type
URL: https://github.com/apache/incubator-daffodil/pull/226
 
 
   This small change is another incremental improvement. I was getting NPE 
quite a bit due to things running up the DSOM object taxonomy looking for the 
root which has lexicalParent pointer of null.
   
   I've converted this to an Option type. So you can still get bad behavior of 
course, it's just that you get a bit more type-safety in the code. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to