Ignore:
Timestamp:
2014-07-14T04:18:06+02:00 (12 years ago)
Author:
donvip
Message:

[josm_plugins] fix compilation warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/imagerycache/src/org/mapdb/SerializerPojo.java

    r29363 r30532  
    542542    static{
    543543        try{
    544             Class clazz = Class.forName("sun.reflect.ReflectionFactory");
     544            Class<?> clazz = Class.forName("sun.reflect.ReflectionFactory");
    545545            if(clazz!=null){
    546546                Method getReflectionFactory = clazz.getMethod("getReflectionFactory");
     
    582582     *   If non of these works we fallback into usual reflection which requires an no-arg constructor
    583583     */
    584     @SuppressWarnings("restriction")
     584    @SuppressWarnings({ "restriction", "unchecked" })
    585585        protected <T> T createInstanceSkippinkConstructor(Class<T> clazz)
    586586            throws NoSuchMethodException, InvocationTargetException, IllegalAccessException, InstantiationException {
Note: See TracChangeset for help on using the changeset viewer.