Changeset 5792 in josm for trunk


Ignore:
Timestamp:
2013-03-22T02:23:23+01:00 (7 years ago)
Author:
Don-vip
Message:

code style - fix non-static access to static member

Location:
trunk/src/org/openstreetmap/josm/gui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/conflict/tags/CombinePrimitiveResolverDialog.java

    r5700 r5792  
    253253            cmds.addAll(buildTagChangeCommand(targetPrimitive, allResolutions));
    254254        }
    255         for(String p : targetPrimitive.getDiscardableKeys()) {
     255        for(String p : OsmPrimitive.getDiscardableKeys()) {
    256256            if (targetPrimitive.get(p) != null) {
    257257                cmds.add(new ChangePropertyCommand(targetPrimitive, p, null));
  • trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java

    r5779 r5792  
    463463     */
    464464    static public void setMaxWorkers() {
    465         JobDispatcher.getInstance().setMaxWorkers(PROP_TMS_JOBS.get());
     465        JobDispatcher.setMaxWorkers(PROP_TMS_JOBS.get());
    466466        JobDispatcher.getInstance().setLIFO(true);
    467467    }
  • trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java

    r5791 r5792  
    511511                    }
    512512                });
    513                 pnl.add(releasebutton, GBC.std().eol());
     513                pnl.add(releasebutton, GBC.eol());
    514514                value = pnl;
    515515            }
Note: See TracChangeset for help on using the changeset viewer.