Ignore:
Timestamp:
2016-10-28T11:50:35+02:00 (3 years ago)
Author:
simon04
Message:

see #13828 - Fix unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AddImageryLayerAction.java

    r11174 r11181  
    7575            }
    7676        } catch (IllegalArgumentException ex) {
    77             if (ex.getMessage() == null || ex.getMessage().isEmpty()) {
     77            if (ex.getMessage() == null || ex.getMessage().isEmpty() || GraphicsEnvironment.isHeadless()) {
    7878                throw ex;
    7979            } else {
Note: See TracChangeset for help on using the changeset viewer.