Changeset 4076 in josm


Ignore:
Timestamp:
2011-05-06T23:18:24+02:00 (14 years ago)
Author:
framm
Message:

fix typo

File:
1 edited

Legend:

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

    r4075 r4076  
    108108    class ValidationTask extends PleaseWaitRunnable {
    109109        private Collection<Test> tests;
    110         private Collection<OsmPrimitive> validatedPrimitmives;
     110        private Collection<OsmPrimitive> validatedPrimitives;
    111111        private Collection<OsmPrimitive> formerValidatedPrimitives;
    112112        private boolean canceled;
     
    121121        public ValidationTask(Collection<Test> tests, Collection<OsmPrimitive> validatedPrimitives, Collection<OsmPrimitive> formerValidatedPrimitives) {
    122122            super(tr("Validating"), false /*don't ignore exceptions */);
    123             this.validatedPrimitmives  = validatedPrimitives;
     123            this.validatedPrimitives  = validatedPrimitives;
    124124            this.formerValidatedPrimitives = formerValidatedPrimitives;
    125125            this.tests = tests;
     
    158158                return;
    159159            errors = new ArrayList<TestError>(200);
    160             getProgressMonitor().setTicksCount(tests.size() * validatedPrimitmives.size());
     160            getProgressMonitor().setTicksCount(tests.size() * validatedPrimitives.size());
    161161            int testCounter = 0;
    162162            for (Test test : tests) {
     
    166166                getProgressMonitor().setCustomText(tr("Test {0}/{1}: Starting {2}", testCounter, tests.size(),test.getName()));
    167167                test.setPartialSelection(formerValidatedPrimitives != null);
    168                 test.startTest(getProgressMonitor().createSubTaskMonitor(validatedPrimitmives.size(), false));
    169                 test.visit(validatedPrimitmives);
     168                test.startTest(getProgressMonitor().createSubTaskMonitor(validatedPrimitives.size(), false));
     169                test.visit(validatedPrimitives);
    170170                test.endTest();
    171171                errors.addAll(test.getErrors());
Note: See TracChangeset for help on using the changeset viewer.