Ignore:
Timestamp:
2012-01-26T21:52:34+01:00 (12 years ago)
Author:
jttt
Message:

Use static class were appropriate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/APIDataSet.java

    r4534 r4874  
    7373        OsmPrimitiveComparator c = new OsmPrimitiveComparator();
    7474        c.relationsFirst = true;
    75         Collections.sort(toDelete, c); 
    76         Collections.sort(toAdd, c); 
    77         Collections.sort(toUpdate, c); 
     75        Collections.sort(toDelete, c);
     76        Collections.sort(toAdd, c);
     77        Collections.sort(toUpdate, c);
    7878    }
    7979
     
    154154        OsmPrimitiveComparator c = new OsmPrimitiveComparator();
    155155        c.relationsFirst = true;
    156         Collections.sort(toDelete, c); 
    157         Collections.sort(toAdd, c); 
    158         Collections.sort(toUpdate, c); 
     156        Collections.sort(toDelete, c);
     157        Collections.sort(toAdd, c);
     158        Collections.sort(toUpdate, c);
    159159    }
    160160
     
    278278     *
    279279     */
    280     private class RelationUploadDependencyGraph {
     280    private static class RelationUploadDependencyGraph {
    281281        private HashMap<Relation, Set<Relation>> children;
    282282        private Collection<Relation> relations;
     
    353353                        }
    354354                    }
    355             );
     355                    );
    356356            return ret;
    357357        }
Note: See TracChangeset for help on using the changeset viewer.