qmj0923 opened a new issue, #2311:
URL: https://github.com/apache/jena/issues/2311

   ### Version
   
   4.10.0
   
   ### What happened?
   
   I think the comparison should be `el.getElements().size() == 1` in the code 
snippet below.
   
   
https://github.com/apache/jena/blob/e54eb5e45fbb546342681046049509a76df58cc9/jena-arq/src/main/java/org/apache/jena/sparql/serializer/FormatterElement.java#L251-L255
   
   Considering that `ElementUnion` always has at least two elements, this issue 
may not affect the correctness of the program.
   
   ### Relevant output and stacktrace
   
   _No response_
   
   ### Are you interested in making a pull request?
   
   None


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