Ignore:
Timestamp:
2018-12-17T01:35:54+01:00 (6 years ago)
Author:
Don-vip
Message:

see #16073 - correct handling of server projections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreferenceTestIT.java

    r14566 r14569  
    287287
    288288    private static Projection getProjection(ImageryInfo info) {
    289         if (!info.getServerProjections().isEmpty()) {
    290             Projection proj = Projections.getProjectionByCode(info.getServerProjections().get(0));
     289        for (String code : info.getServerProjections()) {
     290            Projection proj = Projections.getProjectionByCode(code);
    291291            if (proj != null) {
    292292                return proj;
Note: See TracChangeset for help on using the changeset viewer.