Changeset 10592 in josm for trunk/test


Ignore:
Timestamp:
2016-07-22T23:39:36+02:00 (8 years ago)
Author:
Don-vip
Message:

see #11390, fix #13192 - Update LayerPositionStrategy to be a java 8 functional interface (patch by michael2402, modified) - gsoc-core

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/layer/LayerManagerTest.java

    r10467 r10592  
    239239            @Override
    240240            public LayerPositionStrategy getDefaultLayerPosition() {
    241                 return new LayerPositionStrategy() {
    242                     @Override
    243                     public int getPosition(LayerManager manager) {
    244                         return 42;
    245                     }
    246                 };
     241                return manager -> 42;
    247242            }
    248243        };
Note: See TracChangeset for help on using the changeset viewer.