Fix checkstyle warnings, add missing AL header.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715492 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2015-11-21 10:09:31 +00:00
parent 7d2507ee16
commit 52372e8f2b
3 changed files with 42 additions and 13 deletions

View File

@ -74,7 +74,6 @@ public abstract class AbstractMultiValuedMap<K, V> implements MultiValuedMap<K,
/** /**
* Constructor that wraps (not copies). * Constructor that wraps (not copies).
* *
* @param <C> the collection type
* @param map the map to wrap, must not be null * @param map the map to wrap, must not be null
* @throws NullPointerException if the map is null * @throws NullPointerException if the map is null
*/ */

View File

@ -1,3 +1,19 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.commons.collections4.multimap; package org.apache.commons.collections4.multimap;
import java.io.IOException; import java.io.IOException;
@ -9,11 +25,10 @@ import java.util.Collection;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.apache.commons.collections4.ListValuedMap;
import org.apache.commons.collections4.MultiValuedMap; import org.apache.commons.collections4.MultiValuedMap;
/** /**
* Implements a {@link ListValuedMap}, using a {@link HashMap} to provide data * Implements a {@code ListValuedMap}, using a {@link HashMap} to provide data
* storage and {@link ArrayList}s as value collections. This is the standard * storage and {@link ArrayList}s as value collections. This is the standard
* implementation of a ListValuedMap. * implementation of a ListValuedMap.
* <p> * <p>

View File

@ -1,3 +1,19 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.commons.collections4.multimap; package org.apache.commons.collections4.multimap;
import java.io.IOException; import java.io.IOException;
@ -9,10 +25,9 @@ import java.util.HashSet;
import java.util.Map; import java.util.Map;
import org.apache.commons.collections4.MultiValuedMap; import org.apache.commons.collections4.MultiValuedMap;
import org.apache.commons.collections4.SetValuedMap;
/** /**
* Implements a {@link SetValuedMap}, using a {@link HashMap} to provide data * Implements a {@code SetValuedMap}, using a {@link HashMap} to provide data
* storage and {@link HashSet}s as value collections. This is the standard * storage and {@link HashSet}s as value collections. This is the standard
* implementation of a SetValuedMap. * implementation of a SetValuedMap.
* <p> * <p>