Ignore:
Timestamp:
2013-12-22T00:09:16+01:00 (12 years ago)
Author:
simon04
Message:

see #9414 - implement MapCSS-based tag checker/fixer

The file deprecated.mapcss contains all DeprecatedTags tests. The
latter is to be removed eventually.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/CheckParameterUtil.java

    r6362 r6506  
    9292
    9393    /**
     94     * Ensures that the condition {@code condition} holds.
     95     * @param condition The condition to check
     96     * @throws IllegalArgumentException if the condition does not hold
     97     */
     98    public static void ensureThat(boolean condition, String message) throws IllegalArgumentException {
     99        if (!condition)
     100            throw new IllegalArgumentException(message);
     101    }
     102
     103    /**
    94104     * Ensures that <code>id</code> is non-null primitive id of type {@link OsmPrimitiveType#NODE}
    95105     *
Note: See TracChangeset for help on using the changeset viewer.