Changeset 9075 in josm for trunk/src/org


Ignore:
Timestamp:
2015-11-30T23:38:27+01:00 (4 years ago)
Author:
Don-vip
Message:

pmd - Useless qualified this usage in the same class

Location:
trunk/src/org/openstreetmap/josm
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java

    r9073 r9075  
    18251825                        r.osm,
    18261826                        paintSettings,
    1827                         StyledMapRenderer.this,
     1827                        this,
    18281828                        (r.flags & FLAG_SELECTED) != 0,
    18291829                        (r.flags & FLAG_OUTERMEMBER_OF_SELECTED) != 0,
  • trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetContentPanel.java

    r9059 r9075  
    175175    private void alertNoPrimitivesTo(Collection<HistoryOsmPrimitive> primitives, String title, String helpTopic) {
    176176        HelpAwareOptionPane.showOptionDialog(
    177                 ChangesetContentPanel.this,
     177                this,
    178178                trn("<html>The selected object is not available in the current<br>"
    179179                        + "edit layer ''{0}''.</html>",
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/RelationTree.java

    r8836 r9075  
    6666     */
    6767    protected Dialog getParentDialog() {
    68         Component c = RelationTree.this;
     68        Component c = this;
    6969        while (c != null && !(c instanceof Dialog)) {
    7070            c = c.getParent();
  • trunk/src/org/openstreetmap/josm/gui/download/BoundingBoxSelection.java

    r9059 r9075  
    154154        Bounds b = OsmUrlToBounds.parse(tfOsmUrl.getText());
    155155        if (b == null) return false;
    156         gui.boundingBoxChanged(b, BoundingBoxSelection.this);
     156        gui.boundingBoxChanged(b, this);
    157157        updateBboxFields(b);
    158158        updateUrl(b);
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageDisplay.java

    r8870 r9075  
    602602
    603603        synchronized (this) {
    604             file = ImageDisplay.this.file;
    605             image = ImageDisplay.this.image;
    606             visibleRect = ImageDisplay.this.visibleRect;
     604            file = this.file;
     605            image = this.image;
     606            visibleRect = this.visibleRect;
    607607        }
    608608
  • trunk/src/org/openstreetmap/josm/gui/oauth/AdvancedOAuthPropertiesPanel.java

    r8510 r9075  
    149149        };
    150150        int ret = HelpAwareOptionPane.showOptionDialog(
    151                 AdvancedOAuthPropertiesPanel.this,
     151                this,
    152152                tr(
    153153                        "<html>JOSM is about to reset the OAuth settings to default values.<br>"
  • trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceTabbedPane.java

    r9059 r9075  
    339339            if (clazz.isInstance(setting)) {
    340340                final SubPreferenceSetting sub = (SubPreferenceSetting) setting;
    341                 final TabPreferenceSetting tab = sub.getTabPreferenceSetting(PreferenceTabbedPane.this);
     341                final TabPreferenceSetting tab = sub.getTabPreferenceSetting(this);
    342342                selectTabBy(new TabIdentifier() {
    343343                    @Override
Note: See TracChangeset for help on using the changeset viewer.