Changeset 30532 in osm for applications/editors/josm/plugins/imagerycache/src/org/mapdb/TxMaker.java
- Timestamp:
- 2014-07-14T04:18:06+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagerycache/src/org/mapdb/TxMaker.java
r29363 r30532 11 11 public class TxMaker { 12 12 13 @SuppressWarnings("unchecked") 13 14 protected static final Fun.Tuple2<Object, Serializer> DELETED = new Fun.Tuple2(null, Serializer.STRING_SERIALIZER); 14 15 … … 62 63 protected Set<Long> newItems = new LinkedHashSet<Long>(); 63 64 64 65 65 protected TxEngine(Engine engine) { 66 66 super(engine); … … 79 79 } 80 80 81 @SuppressWarnings("unchecked") 81 82 @Override 82 83 public <A> A get(long recid, Serializer<A> serializer) { … … 93 94 } 94 95 96 @SuppressWarnings({ "rawtypes", "unchecked" }) 95 97 @Override 96 98 public <A> void update(long recid, A value, Serializer<A> serializer) { … … 128 130 } 129 131 132 @SuppressWarnings({ "unchecked", "rawtypes" }) 130 133 @Override 131 134 public void commit() { … … 144 147 engine.commit(); 145 148 } 146 147 149 } 148 150 … … 163 165 newItems = null; 164 166 } 165 166 167 } 167 168 … … 171 172 } 172 173 } 173 174 175 174 }
Note:
See TracChangeset
for help on using the changeset viewer.