Changeset 30532 in osm for applications/editors/josm/plugins/imagerycache/src/org/mapdb/SerializerPojo.java
- Timestamp:
- 2014-07-14T04:18:06+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagerycache/src/org/mapdb/SerializerPojo.java
r29363 r30532 542 542 static{ 543 543 try{ 544 Class clazz = Class.forName("sun.reflect.ReflectionFactory"); 544 Class<?> clazz = Class.forName("sun.reflect.ReflectionFactory"); 545 545 if(clazz!=null){ 546 546 Method getReflectionFactory = clazz.getMethod("getReflectionFactory"); … … 582 582 * If non of these works we fallback into usual reflection which requires an no-arg constructor 583 583 */ 584 @SuppressWarnings("restriction") 584 @SuppressWarnings({ "restriction", "unchecked" }) 585 585 protected <T> T createInstanceSkippinkConstructor(Class<T> clazz) 586 586 throws NoSuchMethodException, InvocationTargetException, IllegalAccessException, InstantiationException {
Note:
See TracChangeset
for help on using the changeset viewer.
