Ignore:
Timestamp:
2014-07-14T04:18:06+02:00 (10 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/TxMaker.java

    r29363 r30532  
    1111public class TxMaker {
    1212
     13    @SuppressWarnings("unchecked")
    1314    protected static final Fun.Tuple2<Object, Serializer> DELETED = new Fun.Tuple2(null, Serializer.STRING_SERIALIZER);
    1415
     
    6263        protected Set<Long> newItems = new LinkedHashSet<Long>();
    6364
    64 
    6565        protected TxEngine(Engine engine) {
    6666            super(engine);
     
    7979        }
    8080
     81        @SuppressWarnings("unchecked")
    8182        @Override
    8283        public <A> A get(long recid, Serializer<A> serializer) {
     
    9394        }
    9495
     96        @SuppressWarnings({ "rawtypes", "unchecked" })
    9597        @Override
    9698        public <A> void update(long recid, A value, Serializer<A> serializer) {
     
    128130        }
    129131
     132        @SuppressWarnings({ "unchecked", "rawtypes" })
    130133        @Override
    131134        public void commit() {
     
    144147                engine.commit();
    145148            }
    146 
    147149        }
    148150
     
    163165                newItems = null;
    164166            }
    165 
    166167        }
    167168
     
    171172        }
    172173    }
    173 
    174 
    175174}
Note: See TracChangeset for help on using the changeset viewer.