[ 
https://issues.apache.org/jira/browse/COLLECTIONS-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Neidhart updated COLLECTIONS-350:
----------------------------------------
    Fix Version/s: 3.2.2

> MapUtils.getNumber sends output to System.out
> ---------------------------------------------
>
>                 Key: COLLECTIONS-350
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-350
>             Project: Commons Collections
>          Issue Type: Bug
>    Affects Versions: 3.2
>            Reporter: Michael Akerman
>            Priority: Minor
>             Fix For: 3.2.2, 4.0-alpha1, 4.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> MapUtils.getNumber calls "logInfo" on a ParseException and it produces output 
> on the System.out, instead of just returning "null" as the documentation 
> states.
> Since the expected behavior is to return null, *not* print to System.out.  I 
> recommend we remove the call to logInfo and/or remove the System.out.println 
> inside it.
> At minimum, if that's not agreed upon, the "side-effect" of writing to 
> System.out should be documented.
> I'm happy to offer code for either of these fixes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to