Ignore:
Timestamp:
2023-08-09T15:30:01+02:00 (3 years ago)
Author:
taylor.smock
Message:

Fix #22832: Code cleanup and some simplification, documentation fixes (patch by gaben)

There should not be any functional changes in this patch; it is intended to do
the following:

  • Simplify and cleanup code (example: Arrays.asList(item) -> Collections.singletonList(item))
  • Fix typos in documentation (which also corrects the documentation to match what actually happens, in some cases)
File:
1 edited

Legend:

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

    r17374 r18801  
    258258
    259259    /**
    260      * Customizable constructor. Validation behavior is modifed by passing in options.
     260     * Customizable constructor. Validation behavior is modified by passing in options.
    261261     * @param schemes the set of valid schemes. Ignored if the ALLOW_ALL_SCHEMES option is set.
    262262     * @param authorityValidator Regular expression validator used to validate the authority part
Note: See TracChangeset for help on using the changeset viewer.