Skip to content

Commit abf1fe2

Browse files
committed
fix comparison
1 parent 3452803 commit abf1fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/DeferredCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ public void end(boolean interrupted) {
6868
public void initSendable(SendableBuilder builder) {
6969
super.initSendable(builder);
7070
builder.addStringProperty(
71-
"deferred", () -> m_command == m_nullCommand ? "null" : m_command.getName(), null);
71+
"deferred", () -> m_command.equals(m_nullCommand) ? "null" : m_command.getName(), null);
7272
}
7373
}

0 commit comments

Comments
 (0)