Ignore:
Timestamp:
2016-07-11T23:01:43+02:00 (10 years ago)
Author:
donvip
Message:

checkstyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/NanoLog/src/nanolog/GPXChooser.java

    r32329 r32638  
    11package nanolog;
    22
    3 import javax.swing.*;
     3import javax.swing.JDialog;
     4
    45import org.openstreetmap.josm.Main;
    56import org.openstreetmap.josm.gui.layer.GpxLayer;
     
    1920    public static GpxLayer topLayer() {
    2021        // return first found local layer
    21         for( Layer layer : Main.getLayerManager().getLayers() ) {
    22             if( layer instanceof GpxLayer && ((GpxLayer)layer).isLocalFile() )
    23                 return (GpxLayer)layer;
     22        for (Layer layer : Main.getLayerManager().getLayers()) {
     23            if (layer instanceof GpxLayer && ((GpxLayer) layer).isLocalFile())
     24                return (GpxLayer) layer;
    2425        }
    2526        return null;
Note: See TracChangeset for help on using the changeset viewer.