Removing the System.out from MapUtils.getNumber as reported by Michaell Akerman. COLLECTIONS-350

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@899702 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2010-01-15 16:48:28 +00:00
parent eebcb74fb5
commit 4e6e6a8e07
1 changed files with 1 additions and 12 deletions

View File

@ -204,7 +204,7 @@ public class MapUtils {
String text = (String) answer;
return NumberFormat.getInstance().parse(text);
} catch (ParseException e) {
logInfo(e);
// failure means null is returned
}
}
}
@ -941,17 +941,6 @@ public class MapUtils {
// Implementation methods
//-------------------------------------------------------------------------
/**
* Logs the given exception to <code>System.out</code>.
* <p>
* This method exists as Jakarta Collections does not depend on logging.
*
* @param ex the exception to log
*/
protected static void logInfo(final Exception ex) {
System.out.println("INFO: Exception: " + ex);
}
/**
* Implementation providing functionality for {@link #debugPrint} and for
* {@link #verbosePrint}. This prints the given map with nice line breaks.