Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageEntry.java
r17579 r17580 106 106 @Override 107 107 public int hashCode() { 108 return Objects.hash(super.hashCode(), thumbnail );108 return Objects.hash(super.hashCode(), thumbnail, dataSet); 109 109 } 110 110 -
trunk/test/unit/org/openstreetmap/josm/gui/layer/geoimage/ImageEntryTest.java
r17275 r17580 5 5 6 6 import java.io.File; 7 import java.util.ArrayList; 7 8 8 9 import org.junit.jupiter.api.Test; 9 10 import org.openstreetmap.josm.TestUtils; 11 import org.openstreetmap.josm.data.ImageData; 10 12 import org.openstreetmap.josm.data.gpx.GpxImageEntry; 11 13 … … 37 39 .suppress(Warning.NONFINAL_FIELDS) 38 40 .withPrefabValues(GpxImageEntry.class, new GpxImageEntry(new File("foo")), new GpxImageEntry(new File("bar"))) 41 .withPrefabValues(ImageData.class, new ImageData(), new ImageData(new ArrayList<>())) 39 42 .verify(); 40 43 }
Note:
See TracChangeset
for help on using the changeset viewer.