Changeset 7864 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/Cascade.java
- Timestamp:
- 2014-12-20T22:43:20+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/Cascade.java
r7509 r7864 42 42 public <T> T get(String key, T def, Class<T> klass, boolean suppressWarnings) { 43 43 if (def != null && !klass.isInstance(def)) 44 throw new IllegalArgumentException( );44 throw new IllegalArgumentException(def+" is not an instance of "+klass); 45 45 Object o = prop.get(key); 46 46 if (o == null)
Note:
See TracChangeset
for help on using the changeset viewer.