Ignore:
Timestamp:
2017-03-31T00:08:09+02:00 (3 years ago)
Author:
Don-vip
Message:

sonar - squid:S2259 - Null pointers should not be dereferenced

File:
1 edited

Legend:

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

    r11553 r11796  
    1515import java.util.Collection;
    1616import java.util.Date;
     17import java.util.Objects;
    1718import java.util.Optional;
    1819import java.util.TreeSet;
     
    657658     */
    658659    public static String explainOsmTransferException(OsmTransferException e) {
     660        Objects.requireNonNull(e, "e");
    659661        if (getNestedException(e, SecurityException.class) != null)
    660662            return explainSecurityException(e);
Note: See TracChangeset for help on using the changeset viewer.