Ignore:
Timestamp:
2010-09-15T18:59:53+02:00 (14 years ago)
Author:
stoecker
Message:

remove tabs

Location:
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/OSMValidatorPlugin.java

    r21616 r23192  
    111111     */
    112112    public OSMValidatorPlugin(PluginInformation info) {
    113         super(info);
     113        super(info);
    114114        checkPluginDir();
    115115        initializeGridDetail();
     
    175175            MapView.addLayerChangeListener(this);
    176176        } else
    177                 MapView.removeLayerChangeListener(this);
     177            MapView.removeLayerChangeListener(this);
    178178        if (newFrame != null) {
    179                 UploadAction.registerUploadHook(uploadHook = new ValidateUploadHook(this));
     179            UploadAction.registerUploadHook(uploadHook = new ValidateUploadHook(this));
    180180        } else {
    181                 UploadAction.unregisterUploadHook(uploadHook);
    182                 uploadHook = null;
     181            UploadAction.unregisterUploadHook(uploadHook);
     182            uploadHook = null;
    183183        }
    184184    }
     
    280280                e.printStackTrace();
    281281                JOptionPane.showMessageDialog(Main.parent,
    282                                 tr("Error initializing test {0}:\n {1}", test.getClass()
     282                        tr("Error initializing test {0}:\n {1}", test.getClass()
    283283                        .getSimpleName(), e),
    284284                        tr("Error"),
     
    306306
    307307    public void layerRemoved(Layer oldLayer) {
    308         if (oldLayer == errorLayer) {
    309                 errorLayer = null;
    310                 return;
    311         }
     308        if (oldLayer == errorLayer) {
     309            errorLayer = null;
     310            return;
     311        }
    312312        layerErrors.remove(oldLayer);
    313313        if (Main.map.mapView.getLayersOfType(OsmDataLayer.class).isEmpty()) {
    314                 if (errorLayer != null) {
    315                         Main.map.mapView.removeLayer(errorLayer);
    316                 }
     314            if (errorLayer != null) {
     315                Main.map.mapView.removeLayer(errorLayer);
     316            }
    317317        }
    318318    }
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/PreferenceEditor.java

    r20828 r23192  
    2222/**
    2323 * Preference settings for the validator plugin
    24  * 
     24 *
    2525 * @author frsantos
    2626 */
     
    5252    /**
    5353     * The preferences key for enabling the permanent filtering
    54      * of the displayed errors in the tree regarding the current selection 
     54     * of the displayed errors in the tree regarding the current selection
    5555     */
    5656    public static final String PREF_FILTER_BY_SELECTION = PREFIX + ".selectionFilter";
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/Coastlines.java

    r20828 r23192  
    4747    public void startTest(ProgressMonitor monitor)
    4848    {
    49         super.startTest(monitor);
     49        super.startTest(monitor);
    5050
    5151        OsmDataLayer layer = Main.map.mapView.getEditLayer();
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/CrossingWays.java

    r20828 r23192  
    5353    public void startTest(ProgressMonitor monitor)
    5454    {
    55         super.startTest(monitor);
     55        super.startTest(monitor);
    5656        cellSegments = new HashMap<Point2D,List<ExtendedSegment>>(1000);
    5757        errorSegments = new HashSet<WaySegment>();
     
    6262    public void endTest()
    6363    {
    64         super.endTest();
     64        super.endTest();
    6565        cellSegments = null;
    6666        errorSegments = null;
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/DuplicateWay.java

    r22714 r23192  
    7070    public void startTest(ProgressMonitor monitor)
    7171    {
    72         super.startTest(monitor);
     72        super.startTest(monitor);
    7373        ways = new Bag<WayPair, OsmPrimitive>(1000);
    7474    }
     
    7777    public void endTest()
    7878    {
    79         super.endTest();
     79        super.endTest();
    8080        for(List<OsmPrimitive> duplicated : ways.values() )
    8181        {
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/DuplicatedWayNodes.java

    r20828 r23192  
    5050        for (Node n : w.getNodes()) {
    5151            if (lastN == null) {
    52                 wnew.addNode(n);
     52                wnew.addNode(n);
    5353            } else if (n == lastN) {
    5454                // Skip this node
    5555            } else {
    56                 wnew.addNode(n);
     56                wnew.addNode(n);
    5757            }
    5858            lastN = n;
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/NameMismatch.java

    r20828 r23192  
    7474                tr("A name is missing, even though name:* exists."),
    7575                                     NAME_MISSING, p));
    76             return;
    77         }
     76        return;
     77    }
    7878
    7979        if (names.contains(name)) return;
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/OverlappingWays.java

    r20828 r23192  
    5252    public void startTest(ProgressMonitor monitor)
    5353    {
    54         super.startTest(monitor);
     54        super.startTest(monitor);
    5555        nodePairs = new Bag<Pair<Node,Node>, WaySegment>(1000);
    5656    }
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/SimilarNamedWays.java

    r20828 r23192  
    4444    public void startTest(ProgressMonitor monitor)
    4545    {
    46         super.startTest(monitor);
     46        super.startTest(monitor);
    4747        cellWays = new HashMap<Point2D,List<Way>>(1000);
    4848        errorWays = new Bag<Way, Way>();
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/WronglyOrderedWays.java

    r20828 r23192  
    4040    public void startTest(ProgressMonitor monitor)
    4141    {
    42         super.startTest(monitor);
     42        super.startTest(monitor);
    4343        _errorWays = new Bag<Way, Way>();
    4444    }
Note: See TracChangeset for help on using the changeset viewer.