Polishing
This commit is contained in:
@@ -45,6 +45,7 @@ public interface MultiValueMap<K, V> extends Map<K, List<V>> {
|
||||
* Add all the values of the given list to the current list of values for the given key.
|
||||
* @param key they key
|
||||
* @param values the values to be added
|
||||
* @since 5.0
|
||||
*/
|
||||
void addAll(K key, List<V> values);
|
||||
|
||||
|
||||
@@ -23,23 +23,17 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNull;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
* @author Arjen Poutsma
|
||||
*/
|
||||
public class LinkedMultiValueMapTests {
|
||||
|
||||
private LinkedMultiValueMap<String, String> map;
|
||||
private final LinkedMultiValueMap<String, String> map = new LinkedMultiValueMap<String, String>();
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
map = new LinkedMultiValueMap<>();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void add() {
|
||||
|
||||
Reference in New Issue
Block a user