Ignore:
Timestamp:
2016-02-14T12:18:35+01:00 (4 years ago)
Author:
Don-vip
Message:

findbugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AutoScaleAction.java

    r9447 r9795  
    6161    private final String mode;
    6262
    63     protected transient ZoomChangeAdapter zoomChangeAdapter;
    64     protected transient MapFrameAdapter mapFrameAdapter;
    6563    /** Time of last zoom to bounds action */
    6664    protected long lastZoomTime = -1;
     
    358356        // make this action listen to zoom and mapframe change events
    359357        //
    360         MapView.addZoomChangeListener(zoomChangeAdapter = new ZoomChangeAdapter());
    361         Main.addMapFrameListener(mapFrameAdapter = new MapFrameAdapter());
     358        MapView.addZoomChangeListener(new ZoomChangeAdapter());
     359        Main.addMapFrameListener(new MapFrameAdapter());
    362360        initEnabledState();
    363361    }
Note: See TracChangeset for help on using the changeset viewer.