anon-iclr-submission/benchname-bug-localization huggingface dataset:
Repository: ibi-group/datatools-server
Issue: Labels: 404 warning when assigning labels

## Observed behavior

When adding labels to feeds, a 404 error would appear, even though the label would be assigned correctly.

## Expected behavior

The label should be assigned without error

## Steps to reproduce the problem

Assign a label to a feed, observe error modal appearing.

## Any special notes on configuration used
n/a
## Version of datatools-server and datatools-ui if applicable (exact commit hash or branch name)

latest dev

Changed files:
src/main/java/com/conveyal/datatools/manager/models/FeedSource.java

diff --git a/src/main/java/com/conveyal/datatools/manager/models/FeedSource.java b/src/main/java/com/conveyal/datatools/manager/models/FeedSource.java
index cdd7bc2a..612e4504 100644
--- a/src/main/java/com/conveyal/datatools/manager/models/FeedSource.java
+++ b/src/main/java/com/conveyal/datatools/manager/models/FeedSource.java
@@ -42,6 +42,7 @@ import java.util.Date;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
+import java.util.Objects;
 import java.util.stream.Collectors;
 
 import static com.conveyal.datatools.manager.utils.StringUtils.getCleanName;
@@ -339,18 +340,18 @@ public class FeedSource extends Model implements Cloneable {
         // Compare every property other than labels
         return this.name.equals(o.name) &&
                 this.preserveStopTimesSequence == o.preserveStopTimesSequence &&
-                this.transformRules.equals(o.transformRules) &&
+                Objects.equals(this.transformRules, o.transformRules) &&
                 this.isPublic == o.isPublic &&
                 this.deployable == o.deployable &&
-                this.retrievalMethod.equals(o.retrievalMethod) &&
-                this.fetchFrequency.equals(o.fetchFrequency) &&
+                Objects.equals(this.retrievalMethod, o.retrievalMethod) &&
+                Objects.equals(this.fetchFrequency, o.fetchFrequency) &&
                 this.fetchInterval == o.fetchInterval &&
-                this.lastFetched.equals(o.lastFetched) &&
-                this.url.equals(o.url) &&
-                this.s3Url.equals(o.s3Url) &&
-                this.snapshotVersion.equals(o.snapshotVersion) &&
-                this.publishedVersionId.equals(o.publishedVersionId) &&
-                this.editorNamespace.equals(o.editorNamespace);
+                Objects.equals(this.lastFetched, o.lastFetched) &&
+                Objects.equals(this.url, o.url) &&
+                Objects.equals(this.s3Url, o.s3Url) &&
+                Objects.equals(this.snapshotVersion, o.snapshotVersion) &&
+                Objects.equals(this.publishedVersionId, o.publishedVersionId) &&
+                Objects.equals(this.editorNamespace, o.editorNamespace);
     }
 
     public String toString () {