indigophox opened a new issue, #139:
URL: https://github.com/apache/arrow-java/issues/139

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   The Java CallHeaders documentation doesn't document that `.getAll()` will 
return `null` if no matches are found, so the reader is left with the default 
assumption of getting back an empty Iterator<>.
   
   I assume this probably extends to `.getAllByte()` but I haven't had time to 
investigate yet.
   
   I will probably fix the documentation in the near future, although (given 
it's theoretically not a breaking change—there is no guarantee of not receiving 
an empty Iterator<> either!) I'm somewhat more inclined to change the behaviour 
to eliminate the null check anywhere it's used, unless anyone objects.
   
   ### Component(s)
   
   Java, Documentation


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to