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

Martin Grigorov resolved WICKET-3419.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC2
         Assignee: Martin Grigorov

Improved with r1069880.
Thanks!

> 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
>            Assignee: Martin Grigorov
>            Priority: Trivial
>             Fix For: 1.5-RC2
>
>
> 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

        

Reply via email to