commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "E. Michael Akerman" <>
Subject MapUtils.getInteger
Date Thu, 14 Jan 2010 17:43:42 GMT
MapUtils.getInteger(Map,Object) sends:

    Exception: java.text.ParseException: Unparseable number: ""

To System.out when invoked on an empty String.

    The document reflects that if conversion fails, "null" is returned -- which I was quite
happy with.  However,  there's no mention of the side effect on the System.out, and it's filling
up my server logs.

Can either the A) documentation be updated or the B) code modified to remove the garbage on

I'd be happy to offer a change for either "A" or "B" of the above.

Michael Akerman
Systems Analyst
University IT Services

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