veithen opened a new pull request, #889:
URL: https://github.com/apache/ws-axiom/pull/889

   Replaces the hardcoded String|CharacterData union checker 
(components/checker-annotations, buildutils/stringorcharacterdata-checker) with 
a general-purpose @Union(types = {...}) type-use annotation and Checker 
Framework checker (buildutils/union-annotations, buildutils/union-checker). 
@StringOrCharacterData becomes @Union(types = {String.class, 
CharacterData.class}) throughout core-streams, core-mixins and om-mixins.
   
   Also adds a TreeAnnotator that improves the type computed for conditional 
expressions such as `data == null ? "" : data`, so that they type-check against 
a @Union(...) target without an explicit cast.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to