Changeset 13297 in josm


Ignore:
Timestamp:
2018-01-07T23:42:04+01:00 (4 months ago)
Author:
Don-vip
Message:

see #15582 - one more public API for opening_hours parsing

File:
1 edited

Legend:

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

    r13296 r13297  
    290290     * Translates and shortens the error/warning message.
    291291     * @param key OSM key
    292      * @param o error/warnign message
    293      * @return translated/shortened error/warnign message
    294      */
    295     private static String getErrorMessage(String key, Object o) {
     292     * @param o error/warning message returned by {@link #getOpeningHoursErrors} or {@link #getOpeningHoursWarnings}
     293     * @return translated/shortened error/warning message
     294     * @since 13297
     295     */
     296    public static String getErrorMessage(String key, Object o) {
    296297        String msg = o.toString().trim()
    297298        .replace("Unexpected token:", tr("Unexpected token:"))
Note: See TracChangeset for help on using the changeset viewer.