[commands] Fix spacing in command composition exception (#4924)

This commit is contained in:
superpenguin612
2023-01-11 14:46:33 -05:00
committed by GitHub
parent dc4355c031
commit 34519de60a

View File

@@ -602,7 +602,7 @@ public final class CommandScheduler implements NTSendable, AutoCloseable {
public void requireNotComposed(Command command) {
if (m_composedCommands.contains(command)) {
throw new IllegalArgumentException(
"Commands that have been composed may not be added to another composition or scheduled"
"Commands that have been composed may not be added to another composition or scheduled "
+ "individually!");
}
}
@@ -616,7 +616,7 @@ public final class CommandScheduler implements NTSendable, AutoCloseable {
public void requireNotComposed(Collection<Command> commands) {
if (!Collections.disjoint(commands, getComposedCommands())) {
throw new IllegalArgumentException(
"Commands that have been composed may not be added to another composition or scheduled"
"Commands that have been composed may not be added to another composition or scheduled "
+ "individually!");
}
}