commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akash srivastava <>
Subject Fix for the ArrayIndexOutOfBoundsException on calling NaturalRanking#rank() on an array of all NaNs
Date Thu, 15 Aug 2019 05:55:51 GMT
Here is the link for the related bug:

I have suggested two possible fixes when NaturalRanking#rank() is called on
an array of all NaNs:
1) throwing an IllegalArgumentException
2) Returning an empty array

I want to create a pull request regarding it, which fix do you suggest I
should go for?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message