Ignore:
Timestamp:
2011-04-20T15:14:02+02:00 (13 years ago)
Author:
stoecker
Message:

fix #6153 - spelling fixes

Location:
trunk/src/org/openstreetmap/josm/data/validation/tests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/DuplicateNode.java

    r3784 r4043  
    6666                    return ((List<Node>) o).get(0).getCoor().getRoundedToOsmPrecision();
    6767                return RoundCoord(((List<Node>) o).get(0));
    68             } else {
     68            } else
    6969                throw new AssertionError();
    70             }
    7170        }
    7271
     
    107106     */
    108107    public DuplicateNode() {
    109         super(tr("Duplicated nodes")+".",
     108        super(tr("Duplicated nodes."),
    110109                tr("This test checks that there are no nodes at the very same location."));
    111110    }
  • trunk/src/org/openstreetmap/josm/data/validation/tests/DuplicateWay.java

    r3674 r4043  
    6565     */
    6666    public DuplicateWay() {
    67         super(tr("Duplicated ways")+".",
    68               tr("This test checks that there are no ways with same tags and same node coordinates."));
     67        super(tr("Duplicated ways."),
     68                tr("This test checks that there are no ways with same tags and same node coordinates."));
    6969    }
    7070
     
    9595        List<LatLon> wLat = new ArrayList<LatLon>(wNodes.size());
    9696        for (int i=0;i<wNodes.size();i++) {
    97              wLat.add(wNodes.get(i).getCoor());
     97            wLat.add(wNodes.get(i).getCoor());
    9898        }
    9999        Map<String, String> wkeys = w.getKeys();
  • trunk/src/org/openstreetmap/josm/data/validation/tests/SimilarNamedWays.java

    r3674 r4043  
    3939     */
    4040    public SimilarNamedWays() {
    41         super(tr("Similarly named ways")+".",
    42               tr("This test checks for ways with similar names that may have been misspelled."));
     41        super(tr("Similarly named ways."),
     42                tr("This test checks for ways with similar names that may have been misspelled."));
    4343    }
    4444
  • trunk/src/org/openstreetmap/josm/data/validation/tests/UntaggedNode.java

    r3950 r4043  
    3737     */
    3838    public UntaggedNode() {
    39         super(tr("Untagged and unconnected nodes")+".",
     39        super(tr("Untagged and unconnected nodes."),
    4040                tr("This test checks for untagged nodes that are not part of any way."));
    4141    }
     
    6969                    String msg = marktr("Has tag containing ''fixme'' or ''FIXME''");
    7070                    errors.add(new TestError(this, Severity.WARNING, tr("Unconnected nodes without physical tags"),
    71                                 tr(msg), msg, UNTAGGED_NODE_FIXME, n));
     71                            tr(msg), msg, UNTAGGED_NODE_FIXME, n));
    7272                    return;
    7373                }
     
    9494                if (msg != null) {
    9595                    errors.add(new TestError(this, Severity.WARNING, tr("Unconnected nodes without physical tags"),
    96                                 tr(msg), msg, code, n));
     96                            tr(msg), msg, code, n));
    9797                    return;
    9898                }
     
    100100            // Does not happen, but just to be sure. Maybe definition of uninteresting tags changes in future.
    101101            errors.add(new TestError(this, Severity.WARNING, tr("Unconnected nodes without physical tags"),
    102                         tr("Other"), "Other", UNTAGGED_NODE_OTHER, n));
     102                    tr("Other"), "Other", UNTAGGED_NODE_OTHER, n));
    103103        }
    104104    }
     
    118118            int code = testError.getCode();
    119119            switch (code) {
    120                 case UNTAGGED_NODE_BLANK:
    121                 case UNTAGGED_NODE_CREATED_BY:
    122                 case UNTAGGED_NODE_WATCH:
    123                 case UNTAGGED_NODE_SOURCE:
    124                     return true;
     120            case UNTAGGED_NODE_BLANK:
     121            case UNTAGGED_NODE_CREATED_BY:
     122            case UNTAGGED_NODE_WATCH:
     123            case UNTAGGED_NODE_SOURCE:
     124                return true;
    125125            }
    126126        }
Note: See TracChangeset for help on using the changeset viewer.