org.apache.wicket.util.collection.MultiMap addValue
----------------------------------------------------
Key: WICKET-3419
URL: https://issues.apache.org/jira/browse/WICKET-3419
Project: Wicket
Issue Type: Improvement
Components: wicket
Affects Versions: 1.5-RC1
Environment: all
Reporter: Richard Emberson
Priority: Trivial
for org.apache.wicket.util.collection.MultiMap addValue method
change from:
public void addValue(final K key, final V value)
{
List<V> list = get(key);
if (list == null)
{
list = new ArrayList<V>(1);
}
list.add(value);
put(key, list);
}
to:
public void addValue(final K key, final V value)
{
List<V> list = get(key);
if (list == null)
{
list = new ArrayList<V>(1);
put(key, list);
}
list.add(value);
}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira