Changeset 2356 in josm for trunk/src


Ignore:
Timestamp:
2009-10-31T09:13:57+01:00 (15 years ago)
Author:
Gubaer
Message:

applied #3820: patch by hansendc: fix CombineWayAction warning

File:
1 edited

Legend:

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

    r2323 r2356  
    583583        protected List<NodePair> getOutboundPairs(Node node) {
    584584            List<NodePair> l = successors.get(node);
    585             return l == null ? Collections.EMPTY_LIST : l;
     585            if (l == null)
     586                return Collections.emptyList();
     587            return l;
    586588        }
    587589
Note: See TracChangeset for help on using the changeset viewer.