Skip to content

Commit b225b77

Browse files
committed
- lints content package
1 parent e408ea0 commit b225b77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/microsoft/graph/content/BatchRequestContent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ public void removeBatchRequestStepWithId(@Nonnull final String ...stepIds) {
138138

139139
for(final String stepId : stepIds) {
140140
Objects.requireNonNull(stepId, "parameter stepIds cannot contain null values");
141-
requests.removeIf(x -> x.id == stepId);
141+
requests.removeIf(x -> stepId.equals(x.id));
142142
for(final BatchRequestStep<?> step : requests) {
143143
if(step.dependsOn != null) {
144-
step.dependsOn.removeIf(x -> x == stepId);
144+
step.dependsOn.removeIf(x -> stepId.equals(x));
145145
if(step.dependsOn.isEmpty())
146146
step.dependsOn = null; // so we don't send dependsOn: [] over the wire
147147
}

0 commit comments

Comments
 (0)