diff --git a/source/org/jivesoftware/smackx/commands/AdHocCommand.java b/source/org/jivesoftware/smackx/commands/AdHocCommand.java
index fce5b83d8..c5d0963d1 100755
--- a/source/org/jivesoftware/smackx/commands/AdHocCommand.java
+++ b/source/org/jivesoftware/smackx/commands/AdHocCommand.java
@@ -214,17 +214,6 @@ public abstract class AdHocCommand {
*/
public abstract void execute() throws XMPPException;
- /**
- * Executes the command, waiting up to the timeout for a reply.
- * This is invoked only on the first stage of the
- * command. It is invoked on every command. If there is a problem executing
- * the command it throws an XMPPException.
- *
- * @param timeout the length of time in ms to wait for a reply.
- * @throws XMPPException if there is an error executing the command.
- */
- public abstract void execute(long timeout) throws XMPPException;
-
/**
* Executes the next action of the command with the information provided in
* the response
. This form must be the answer form of the
diff --git a/source/org/jivesoftware/smackx/commands/RemoteCommand.java b/source/org/jivesoftware/smackx/commands/RemoteCommand.java
index 7478a2ca8..ac0dc6638 100755
--- a/source/org/jivesoftware/smackx/commands/RemoteCommand.java
+++ b/source/org/jivesoftware/smackx/commands/RemoteCommand.java
@@ -92,10 +92,19 @@ public class RemoteCommand extends AdHocCommand {
executeAction(Action.execute, SmackConfiguration.getPacketReplyTimeout());
}
- @Override
+ /**
+ * Executes the command, waiting up to the timeout for a reply.
+ * This is invoked only on the first stage of the
+ * command. It is invoked on every command. If there is a problem executing
+ * the command it throws an XMPPException.
+ *
+ * @param timeout the length of time in ms to wait for a reply.
+ * @throws XMPPException if there is an error executing the command.
+ */
public void execute(long timeout) throws XMPPException {
executeAction(Action.execute, timeout);
}
+
/**
* Executes the default action of the command with the information provided
* in the Form. This form must be the anwser form of the previous stage. If