Changeset 7164 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2014-05-22T11:14:47+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java
r7162 r7164 178 178 /** 179 179 * Returns the first non-null object. The name originates from the {@code COALESCE} SQL function. 180 * @ see Utils#firstNonNull(Object[])180 * @deprecated Deprecated in favour of {@link #any(Object...)} from the MapCSS standard. 181 181 */ 182 182 @NullableArguments 183 183 public static Object coalesce(Object... args) { 184 return Utils.firstNonNull(args); 185 } 186 187 /** 188 * Returns the first non-null object. 189 * The name originates from <a href="http://wiki.openstreetmap.org/wiki/MapCSS/0.2/eval">MapCSS standard</a>. 190 * @see #coalesce(Object...) 191 * @see Utils#firstNonNull(Object[]) 192 */ 193 @NullableArguments 194 public static Object any(Object... args) { 184 195 return Utils.firstNonNull(args); 185 196 }
Note:
See TracChangeset
for help on using the changeset viewer.