Fix typo in toMap javadoc

This commit is contained in:
Lorenzo Bragaglia 2016-06-24 12:23:32 +02:00 committed by GitHub
parent 8d3f3b60fa
commit d83f5248a6
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ public static boolean isEquals(final Object array1, final Object array2) {
* <p>This method can be used to initialize: * <p>This method can be used to initialize:
* <pre> * <pre>
* // Create a Map mapping colors. * // Create a Map mapping colors.
* Map colorMap = MapUtils.toMap(new String[][] {{ * Map colorMap = ArrayUtils.toMap(new String[][] {
* {"RED", "#FF0000"}, * {"RED", "#FF0000"},
* {"GREEN", "#00FF00"}, * {"GREEN", "#00FF00"},
* {"BLUE", "#0000FF"}}); * {"BLUE", "#0000FF"}});