Changeset 2356 in josm


Ignore:
Timestamp:
Oct 31, 2009 9:13:57 AM (4 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.