Changeset 15748 in josm for trunk/src/org


Ignore:
Timestamp:
2020-01-22T18:40:11+01:00 (5 years ago)
Author:
simon04
Message:

MemberTable: use EnumSet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTable.java

    r14221 r15748  
    77import java.awt.GraphicsEnvironment;
    88import java.awt.event.ActionEvent;
    9 import java.util.Arrays;
    109import java.util.Collection;
     10import java.util.EnumSet;
    1111import java.util.HashSet;
    1212import java.util.Set;
     
    224224        }
    225225
    226         private final Collection<Direction> connectionTypesOfInterest = Arrays.asList(
     226        private final Collection<Direction> connectionTypesOfInterest = EnumSet.of(
    227227                WayConnectionType.Direction.FORWARD, WayConnectionType.Direction.BACKWARD);
    228228
Note: See TracChangeset for help on using the changeset viewer.