Changeset 3871 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2011-02-08T14:29:23+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/CheckParameterUtil.java
r3083 r3871 33 33 34 34 /** 35 * can find line number in the stack trace, so parameter name is optional 36 */ 37 public static void ensureParameterNotNull(Object value) { 38 if (value == null) 39 throw new IllegalArgumentException("Parameter must not be null"); 40 } 41 42 /** 35 43 * Ensures that <code>id</code> is non-null primitive id of type {@see OsmPrimitiveType#NODE} 36 44 *
Note:
See TracChangeset
for help on using the changeset viewer.