Changeset 16488 in josm for trunk/src/org/openstreetmap/josm/tools/template_engine/SearchExpressionCondition.java
- Timestamp:
- 2020-05-23T21:44:48+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/template_engine/SearchExpressionCondition.java
r14093 r16488 3 3 4 4 import org.openstreetmap.josm.data.osm.search.SearchCompiler.Match; 5 6 import java.util.Objects; 5 7 6 8 /** … … 40 42 @Override 41 43 public int hashCode() { 42 final int prime = 31; 43 int result = 1; 44 result = prime * result + ((condition == null) ? 0 : condition.hashCode()); 45 result = prime * result + ((text == null) ? 0 : text.hashCode()); 46 return result; 44 return Objects.hash(condition, text); 47 45 } 48 46
Note:
See TracChangeset
for help on using the changeset viewer.