[ 
https://issues.apache.org/jira/browse/LANG-1663?focusedWorklogId=635535&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-635535
 ]

ASF GitHub Bot logged work on LANG-1663:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Aug/21 01:56
            Start Date: 07/Aug/21 01:56
    Worklog Time Spent: 10m 
      Work Description: coveralls commented on pull request #785:
URL: https://github.com/apache/commons-lang/pull/785#issuecomment-894588885


   
   [![Coverage 
Status](https://coveralls.io/builds/41975704/badge)](https://coveralls.io/builds/41975704)
   
   Coverage remained the same at 94.995% when pulling 
**499fcac59d2ef24751d401039ff952e3ccef7b29 on 
greatmastermario:LANG-1663-Wrong-Exception-Docs** into 
**7c658527094083b2037d362916adf8eb2493ea65 on apache:master**.
   


-- 
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...@commons.apache.org

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


Issue Time Tracking
-------------------

    Worklog Id:     (was: 635535)
    Time Spent: 20m  (was: 10m)

> Wrong exception in various NumberUtils method documentations
> ------------------------------------------------------------
>
>                 Key: LANG-1663
>                 URL: https://issues.apache.org/jira/browse/LANG-1663
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.math.*
>    Affects Versions: 3.12.0
>            Reporter: Tobias Helms
>            Priority: Minor
>              Labels: documentation
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The documentation of various methods in _NumberUtils_ says an 
> _IllegalArgumentException_ is thrown in case of a _null_ argument , e.g., see 
> [https://github.com/apache/commons-lang/blob/197d50434748bfb2db935266cfe740fc01a607ee/src/main/java/org/apache/commons/lang3/math/NumberUtils.java#L1194]
>  
> However, these methods throw a _NullPointerException_ in this case. The 
> following methods are affected:
>  * long min(final long... array)
>  * int min(final int... array)
>  * short min(final short... array)
>  * byte min(final byte... array)
>  * static double min(final double... array)
>  * float min(final float... array)
>  * long max(final long... array)
>  * int max(final int... array)
>  * short max(final short... array)
>  * byte max(final byte... array)
>  * double max(final double... array)
>  * float max(final float... array)
>  * void validateArray(final Object array)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to