Ignore:
Timestamp:
2017-09-11T09:56:28+02:00 (2 years ago)
Author:
bastiK
Message:

add method for performance to CheckParameterUtil

File:
1 edited

Legend:

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

    r12649 r12822  
    148148        static void checkObject(final Object obj) {
    149149            CheckParameterUtil.ensureThat(obj instanceof Expression || obj instanceof String,
    150                     "instance of Exception or String expected, but got " + obj);
     150                    () -> "instance of Exception or String expected, but got " + obj);
    151151        }
    152152
Note: See TracChangeset for help on using the changeset viewer.