Ignore:
Timestamp:
2015-05-09T12:49:35+02:00 (9 years ago)
Author:
Don-vip
Message:

code style - Close curly brace and the next "else", "catch" and "finally" keywords should be located on the same line

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

Legend:

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

    r7005 r8342  
    189189                errors.add(new TestError(this, Severity.ERROR, tr("Unordered coastline"),
    190190                        UNORDERED_COASTLINE, primitives, highlight));
    191             }
    192             else if (reversed) {
     191            } else if (reversed) {
    193192                errors.add(new TestError(this, Severity.ERROR, tr("Reversed coastline"),
    194193                        REVERSED_COASTLINE, primitives));
  • trunk/src/org/openstreetmap/josm/data/validation/tests/OverlappingWays.java

    r7005 r8342  
    132132                            type = OVERLAPPING_WAY_AREA;
    133133                        }
    134                     }
    135                     else if (highway == ways) {
     134                    } else if (highway == ways) {
    136135                        errortype = tr("Overlapping highways");
    137136                        type = OVERLAPPING_HIGHWAY;
  • trunk/src/org/openstreetmap/josm/data/validation/tests/RelationChecker.java

    r8338 r8342  
    323323                errors.add(new TestError(this, Severity.WARNING, ROLE_VERIF_PROBLEM_MSG,
    324324                        tr(s, keyname), MessageFormat.format(s, keyname), ROLE_MISSING, n));
    325             }
    326             else if (vc > count) {
     325            } else if (vc > count) {
    327326                String s = marktr("Number of {0} roles too low ({1})");
    328327                errors.add(new TestError(this, Severity.WARNING, ROLE_VERIF_PROBLEM_MSG,
Note: See TracChangeset for help on using the changeset viewer.