[#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Removed unnecessary CommandMessage.runCommand() indirection
This commit is contained in:
parent
2898d65145
commit
4aa61514ea
@ -51,10 +51,6 @@ abstract class CommandMessage<S extends Serializable> extends Message<S> {
|
||||
*/
|
||||
private static final long serialVersionUID = -5396976580375899880L;
|
||||
|
||||
S runCommand(MessageContext context) throws Exception {
|
||||
return run(context);
|
||||
}
|
||||
|
||||
/**
|
||||
* Run the message.
|
||||
*
|
||||
|
||||
@ -299,7 +299,7 @@ class MessagingInterface {
|
||||
Throwable throwable = null;
|
||||
if (message.isValid()) {
|
||||
try {
|
||||
result = commandMessage.runCommand(new MessageContext(comm));
|
||||
result = commandMessage.run(new MessageContext(comm));
|
||||
}
|
||||
catch (Throwable t) {
|
||||
throwable = t;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user