Ignore:
Timestamp:
2015-04-29T01:44:01+02:00 (9 years ago)
Author:
Don-vip
Message:

fix squid:RedundantThrowsDeclarationCheck + consistent Javadoc for exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/ChangesetDataSet.java

    r7005 r8291  
    66import java.util.Iterator;
    77import java.util.Map;
     8import java.util.Map.Entry;
    89import java.util.Set;
    9 import java.util.Map.Entry;
    1010
    1111import org.openstreetmap.josm.data.osm.history.HistoryOsmPrimitive;
     
    3636     * @param primitive the primitive. Must not be null.
    3737     * @param cmt the modification type. Must not be null.
    38      * @throws IllegalArgumentException thrown if primitive is null
    39      * @throws IllegalArgumentException thrown if cmt is null
     38     * @throws IllegalArgumentException if primitive is null
     39     * @throws IllegalArgumentException if cmt is null
    4040     */
    41     public void put(HistoryOsmPrimitive primitive, ChangesetModificationType cmt) throws IllegalArgumentException{
     41    public void put(HistoryOsmPrimitive primitive, ChangesetModificationType cmt) {
    4242        CheckParameterUtil.ensureParameterNotNull(primitive,"primitive");
    4343        CheckParameterUtil.ensureParameterNotNull(cmt,"cmt");
     
    112112     * @param cmt the modification type. Must not be null.
    113113     * @return the set of primitives
    114      * @throws IllegalArgumentException thrown if cmt is null
     114     * @throws IllegalArgumentException if cmt is null
    115115     */
    116     public Set<HistoryOsmPrimitive> getPrimitivesByModificationType(ChangesetModificationType cmt) throws IllegalArgumentException {
     116    public Set<HistoryOsmPrimitive> getPrimitivesByModificationType(ChangesetModificationType cmt) {
    117117        CheckParameterUtil.ensureParameterNotNull(cmt,"cmt");
    118118        HashSet<HistoryOsmPrimitive> ret = new HashSet<>();
Note: See TracChangeset for help on using the changeset viewer.