Changeset 14202 in josm for trunk/src/org
- Timestamp:
- 2018-08-29T20:50:13+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r14193 r14202 33 33 import java.util.List; 34 34 import java.util.Map; 35 import java.util.Objects; 35 36 import java.util.Optional; 36 37 import java.util.concurrent.ForkJoinPool; … … 190 191 } 191 192 193 @Override 194 public int hashCode() { 195 return Objects.hash(order, osm, style, flags); 196 } 197 198 @Override 199 public boolean equals(Object obj) { 200 if (this == obj) 201 return true; 202 if (obj == null || getClass() != obj.getClass()) 203 return false; 204 StyleRecord other = (StyleRecord) obj; 205 return flags == other.flags 206 && order == other.order 207 && Objects.equals(osm, other.osm) 208 && Objects.equals(style, other.style); 209 } 210 192 211 /** 193 212 * Get the style for this style element.
Note:
See TracChangeset
for help on using the changeset viewer.