|
42 | 42 | import java.util.HashMap;
|
43 | 43 | import java.util.List;
|
44 | 44 | import java.util.Map;
|
| 45 | +import java.util.Objects; |
45 | 46 | import java.util.stream.Collectors;
|
46 | 47 |
|
47 | 48 | import static com.conveyal.datatools.manager.utils.StringUtils.getCleanName;
|
@@ -339,18 +340,18 @@ public boolean equalsExceptLabels(FeedSource o) {
|
339 | 340 | // Compare every property other than labels
|
340 | 341 | return this.name.equals(o.name) &&
|
341 | 342 | this.preserveStopTimesSequence == o.preserveStopTimesSequence &&
|
342 |
| - this.transformRules.equals(o.transformRules) && |
| 343 | + Objects.equals(this.transformRules, o.transformRules) && |
343 | 344 | this.isPublic == o.isPublic &&
|
344 | 345 | this.deployable == o.deployable &&
|
345 |
| - this.retrievalMethod.equals(o.retrievalMethod) && |
346 |
| - this.fetchFrequency.equals(o.fetchFrequency) && |
| 346 | + Objects.equals(this.retrievalMethod, o.retrievalMethod) && |
| 347 | + Objects.equals(this.fetchFrequency, o.fetchFrequency) && |
347 | 348 | this.fetchInterval == o.fetchInterval &&
|
348 |
| - this.lastFetched.equals(o.lastFetched) && |
349 |
| - this.url.equals(o.url) && |
350 |
| - this.s3Url.equals(o.s3Url) && |
351 |
| - this.snapshotVersion.equals(o.snapshotVersion) && |
352 |
| - this.publishedVersionId.equals(o.publishedVersionId) && |
353 |
| - this.editorNamespace.equals(o.editorNamespace); |
| 349 | + Objects.equals(this.lastFetched, o.lastFetched) && |
| 350 | + Objects.equals(this.url, o.url) && |
| 351 | + Objects.equals(this.s3Url, o.s3Url) && |
| 352 | + Objects.equals(this.snapshotVersion, o.snapshotVersion) && |
| 353 | + Objects.equals(this.publishedVersionId, o.publishedVersionId) && |
| 354 | + Objects.equals(this.editorNamespace, o.editorNamespace); |
354 | 355 | }
|
355 | 356 |
|
356 | 357 | public String toString () {
|
|
0 commit comments