Changeset 14098 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2018-08-05T23:04:41+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/search/SearchCompiler.java
r14093 r14098 1220 1220 return false; 1221 1221 ExactType other = (ExactType) obj; 1222 if (type != other.type) 1223 return false; 1224 return true; 1222 return type == other.type; 1225 1223 } 1226 1224 } … … 1392 1390 return false; 1393 1391 Nth other = (Nth) obj; 1394 if (modulo != other.modulo) 1395 return false; 1396 if (nth != other.nth) 1397 return false; 1398 return true; 1392 return modulo == other.modulo 1393 && nth == other.nth; 1399 1394 } 1400 1395 } … … 1451 1446 return false; 1452 1447 RangeMatch other = (RangeMatch) obj; 1453 if (max != other.max) 1454 return false; 1455 if (min != other.min) 1456 return false; 1457 return true; 1448 return max == other.max 1449 && min == other.min; 1458 1450 } 1459 1451 } … … 1859 1851 return false; 1860 1852 InArea other = (InArea) obj; 1861 if (all != other.all) 1862 return false; 1863 return true; 1853 return all == other.all; 1864 1854 } 1865 1855 }
Note:
See TracChangeset
for help on using the changeset viewer.