Ignore:
Timestamp:
2016-07-25T09:15:56+02:00 (3 years ago)
Author:
Don-vip
Message:

sonar - pmd:UselessQualifiedThis - Useless qualified this usage in the same class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/progress/PleaseWaitProgressMonitor.java

    r10611 r10634  
    166166    public void doBeginTask() {
    167167        doInEDT(() -> {
    168             Main.currentProgressMonitor = PleaseWaitProgressMonitor.this;
     168            Main.currentProgressMonitor = this;
    169169            if (GraphicsEnvironment.isHeadless()) {
    170170                return;
     
    296296        doInEDT(() -> {
    297297            if (dialog != null) {
    298                 dialog.setInBackgroundPossible(PleaseWaitProgressMonitor.this.taskId != null && Main.isDisplayingMapView());
     298                dialog.setInBackgroundPossible(taskId != null && Main.isDisplayingMapView());
    299299                reset();
    300300                getDialog();
     
    308308        doInEDT(() -> {
    309309            if (dialog != null) {
    310                 dialog.setInBackgroundPossible(PleaseWaitProgressMonitor.this.taskId != null && Main.isDisplayingMapView());
     310                dialog.setInBackgroundPossible(taskId != null && Main.isDisplayingMapView());
    311311            }
    312312        });
Note: See TracChangeset for help on using the changeset viewer.