File tree Expand file tree Collapse file tree
src/main/java/org/openstreetmap/josm/plugins/maproulette/api/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 <!-- enter the SVN commit message -->
77 <property name =" commit.message" value =" Commit message" />
88 <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
9- <property name =" plugin.main.version" value =" 19330 " />
9+ <property name =" plugin.main.version" value =" 19528 " />
1010 <property name =" plugin.author" value =" Taylor Smock" />
1111 <property name =" plugin.class" value =" org.openstreetmap.josm.plugins.maproulette.MapRoulette" />
1212 <property name =" plugin.description" value =" MapRoulette Tasks in JOSM" />
Original file line number Diff line number Diff line change 1212 <plugin .src.dir>${project.basedir} /src/main/java</plugin .src.dir>
1313 <plugin .test.dir>${project.basedir} /src/test/unit</plugin .test.dir>
1414 <plugin .resources.dir>${project.basedir} /src/main/resources</plugin .resources.dir>
15- <plugin .main.version>19044 </plugin .main.version>
15+ <plugin .main.version>19528 </plugin .main.version>
1616 <plugin .author>Taylor Smock</plugin .author>
1717 <plugin .class>org.openstreetmap.josm.plugins.maproulette.MapRoulette</plugin .class>
1818 <plugin .description>MapRoulette Tasks in JOSM</plugin .description>
Original file line number Diff line number Diff line change 1818import org .openstreetmap .josm .data .osm .OsmPrimitiveType ;
1919import org .openstreetmap .josm .data .osm .User ;
2020import org .openstreetmap .josm .data .osm .visitor .PrimitiveVisitor ;
21+ import org .openstreetmap .josm .gui .mappaint .ElemStyles ;
2122import org .openstreetmap .josm .gui .mappaint .StyleCache ;
2223
2324/**
@@ -243,24 +244,27 @@ default boolean isNew() {
243244 }
244245
245246 @ Override
246- default StyleCache getCachedStyle () {
247+ default StyleCache getCachedStyle (ElemStyles elemStyles ) {
247248 throw new UnsupportedOperationException ();
248249 }
249250
250251 @ Override
251- default void setCachedStyle (StyleCache mappaintStyle ) {
252+ default void setCachedStyle (ElemStyles elemStyles , StyleCache mappaintStyle ) {
252253 throw new UnsupportedOperationException ();
253254 }
254255
255256 @ Override
256- default boolean isCachedStyleUpToDate () {
257+ default boolean isCachedStyleUpToDate (ElemStyles elemStyles ) {
257258 return false ;
258259 }
259260
260261 @ Override
261- default void declareCachedStyleUpToDate () {
262+ default void declareCachedStyleUpToDate (ElemStyles elemStyles ) {
262263 throw new UnsupportedOperationException ();
263264 }
265+ default void clearCachedStyle (){
266+ //do nothing
267+ };
264268
265269 @ Override
266270 default Map <String , String > getKeys () {
You can’t perform that action at this time.
0 commit comments