Changeset 6610 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2014-01-03T13:34:53+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Utils.java
r6578 r6610 100 100 } 101 101 102 /** 103 * Returns the first element from {@code items} which is non-null, or null if all elements are null. 104 */ 102 105 public static <T> T firstNonNull(T... items) { 103 106 for (T i : items) {
Note:
See TracChangeset
for help on using the changeset viewer.