Ignore:
Timestamp:
2013-08-21T03:47:16+02:00 (11 years ago)
Author:
donvip
Message:

[josm_plugins] fix #8987 - bump min JOSM version of nearly all plugins to r6162 + code update/cleanup, fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/surveyor/src/org/dinopolis/util/collection/Tuple.java

    r13497 r29854  
    1111 *
    1212 * @author cdaller
    13  *
     13 * @deprecated Should be replaced by {@link org.openstreetmap.josm.tools.Pair}
    1414 */
    1515public class Tuple<T1 extends Object, T2 extends Object> implements Map.Entry<T1, T2>{
    1616    T1 first;
    1717    T2 second;
    18 
    19     /**
    20      * Default Constructor
    21      */
    22     public Tuple() {
    23     }
    2418
    2519    /**
     
    10296     * @see java.lang.Object#equals(java.lang.Object)
    10397     */
    104     @SuppressWarnings("unchecked")
    10598    @Override
    10699    public boolean equals(Object obj) {
     
    111104        if (getClass() != obj.getClass())
    112105            return false;
    113         final Tuple other = (Tuple) obj;
     106        final Tuple<?, ?> other = (Tuple<?, ?>) obj;
    114107        if (this.first == null) {
    115108            if (other.first != null)
Note: See TracChangeset for help on using the changeset viewer.