Ignore:
Timestamp:
2014-01-04T06:39:00+01:00 (10 years ago)
Author:
Don-vip
Message:

fix Sonar issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r6617 r6623  
    887887     *  a subclass of <code>klass</code>. The casted value otherwise.
    888888     */
     889    @SuppressWarnings("unchecked")
    889890    public static <T> T cast(Object o, Class<T> klass) {
    890891        if (klass.isInstance(o)) {
    891             @SuppressWarnings("unchecked")
    892             T ret = (T) o;
    893             return ret;
     892            return (T) o;
    894893        }
    895894        return null;
Note: See TracChangeset for help on using the changeset viewer.