Ignore:
Timestamp:
2017-03-19T15:55:27+01:00 (3 years ago)
Author:
Don-vip
Message:

checkstyle - NoWhiteSpaceBefore ...

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/routines/DomainValidator.java

    r11586 r11747  
    19251925     * @since 1.5.0
    19261926     */
    1927     public static synchronized void updateTLDOverride(ArrayType table, String ... tlds) {
     1927    public static synchronized void updateTLDOverride(ArrayType table, String... tlds) {
    19281928        if (inUse) {
    19291929            throw new IllegalStateException("Can only invoke this method before calling getInstance");
  • trunk/src/org/openstreetmap/josm/data/validation/routines/RegexValidator.java

    r10680 r11747  
    102102     * validate against
    103103     */
    104     public RegexValidator(String ... regexs) {
     104    public RegexValidator(String... regexs) {
    105105        this(regexs, true);
    106106    }
  • trunk/src/org/openstreetmap/josm/data/validation/routines/UrlValidator.java

    r11452 r11747  
    218218     *        ignore the contents of schemes.
    219219     */
    220     public UrlValidator(String ... schemes) {
     220    public UrlValidator(String... schemes) {
    221221        this(schemes, 0L);
    222222    }
  • trunk/src/org/openstreetmap/josm/data/validation/tests/ConditionalKeys.java

    r11129 r11747  
    7878    }
    7979
    80     private static boolean isKeyValid3Parts(String ... parts) {
     80    private static boolean isKeyValid3Parts(String... parts) {
    8181        return parts.length == 3 && isRestrictionType(parts[0]) && isTransportationMode(parts[1]) && isDirection(parts[2]);
    8282    }
    8383
    84     private static boolean isKeyValid2Parts(String ... parts) {
     84    private static boolean isKeyValid2Parts(String... parts) {
    8585        return parts.length == 2 && ((isRestrictionType(parts[0]) && (isTransportationMode(parts[1]) || isDirection(parts[1])))
    8686                                  || (isTransportationMode(parts[0]) && isDirection(parts[1])));
    8787    }
    8888
    89     private static boolean isKeyValid1Part(String ... parts) {
     89    private static boolean isKeyValid1Part(String... parts) {
    9090        return parts.length == 1 && (isRestrictionType(parts[0]) || isTransportationMode(parts[0]));
    9191    }
  • trunk/src/org/openstreetmap/josm/data/validation/tests/SimilarNamedWays.java

    r11129 r11747  
    253253        private final String replacement;
    254254
    255         public SynonymRule(String replacement, String ... words) {
     255        public SynonymRule(String replacement, String... words) {
    256256            this.replacement = replacement.toLowerCase(Locale.ENGLISH);
    257257            this.words = words;
Note: See TracChangeset for help on using the changeset viewer.