Ignore:
Timestamp:
2015-05-11T13:34:53+02:00 (5 years ago)
Author:
Don-vip
Message:

squid:S00116 - Field names should comply with a naming convention

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/PurgeCommand.java

    r8338 r8346  
    3838    protected Storage<PrimitiveData> makeIncompleteData;
    3939
    40     protected Map<PrimitiveId, PrimitiveData> makeIncompleteData_byPrimId;
     40    protected Map<PrimitiveId, PrimitiveData> makeIncompleteDataByPrimId;
    4141
    4242    protected final ConflictCollection purgedConflicts = new ConflictCollection();
     
    6969    protected final void saveIncomplete(Collection<OsmPrimitive> makeIncomplete) {
    7070        makeIncompleteData = new Storage<>(new Storage.PrimitiveIdHash());
    71         makeIncompleteData_byPrimId = makeIncompleteData.foreignKey(new Storage.PrimitiveIdHash());
     71        makeIncompleteDataByPrimId = makeIncompleteData.foreignKey(new Storage.PrimitiveIdHash());
    7272
    7373        for (OsmPrimitive osm : makeIncomplete) {
     
    8686            for (int i=toPurge.size()-1; i>=0; --i) {
    8787                OsmPrimitive osm = toPurge.get(i);
    88                 if (makeIncompleteData_byPrimId.containsKey(osm)) {
     88                if (makeIncompleteDataByPrimId.containsKey(osm)) {
    8989                    // we could simply set the incomplete flag
    9090                    // but that would not free memory in case the
     
    121121
    122122        for (OsmPrimitive osm : toPurge) {
    123             PrimitiveData data = makeIncompleteData_byPrimId.get(osm);
     123            PrimitiveData data = makeIncompleteDataByPrimId.get(osm);
    124124            if (data != null) {
    125125                if (ds.getPrimitiveById(osm) != osm)
Note: See TracChangeset for help on using the changeset viewer.