Changeset 16287 in josm for trunk/src/org


Ignore:
Timestamp:
2020-04-13T14:48:43+02:00 (5 years ago)
Author:
Klumbumbus
Message:

see #18802, fix #19069 - Restore display of values from selectors with regexp in validator messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ConditionFactory.java

    r16199 r16287  
    360360         */
    361361        public KeyValueRegexpCondition(String k, String v, Op op, boolean considerValAsKey) {
    362             super(k, "" /* v is not needed */, op, considerValAsKey);
     362            super(k, v, op, considerValAsKey); /* value is needed in validator messages */
    363363            CheckParameterUtil.ensureThat(!considerValAsKey, "considerValAsKey is not supported");
    364364            CheckParameterUtil.ensureThat(SUPPORTED_OPS.contains(op), "Op must be REGEX or NREGEX");
Note: See TracChangeset for help on using the changeset viewer.