Ignore:
Timestamp:
2017-09-09T16:45:41+02:00 (2 years ago)
Author:
Don-vip
Message:

see #15229 - see #15182 - remove GUI references from OsmConnection

File:
1 edited

Legend:

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

    r12796 r12803  
    77import java.util.HashMap;
    88import java.util.Map;
     9import java.util.Objects;
    910import java.util.function.Supplier;
    1011
     
    211212     */
    212213    public static void setMapSizeSupplier(Supplier<Dimension> mapSizeSupplier) {
    213         mapSize = mapSizeSupplier;
     214        mapSize = Objects.requireNonNull(mapSizeSupplier, "mapSizeSupplier");
    214215    }
    215216
Note: See TracChangeset for help on using the changeset viewer.