Ignore:
Timestamp:
2014-10-18T23:07:52+02:00 (11 years ago)
Author:
donvip
Message:

[josm_plugins] fix Java 7 / unused code warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/imagerycache/src/org/mapdb/Fun.java

    r29363 r30737  
    4343
    4444    public static <A,B> Tuple2<A,B> t2(A a, B b) {
    45         return new Tuple2<A, B>(a,b);
     45        return new Tuple2<>(a,b);
    4646    }
    4747
    4848    public static <A,B,C> Tuple3<A,B,C> t3(A a, B b, C c) {
    49         return new Tuple3<A, B, C>((A)a, (B)b, (C)c);
     49        return new Tuple3<>((A)a, (B)b, (C)c);
    5050    }
    5151
    5252    public static <A,B,C,D> Tuple4<A,B,C,D> t4(A a, B b, C c, D d) {
    53         return new Tuple4<A, B, C, D>(a,b,c,d);
     53        return new Tuple4<>(a,b,c,d);
    5454    }
    5555
Note: See TracChangeset for help on using the changeset viewer.