You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ju...@apache.org on 2020/03/16 21:58:29 UTC

[jspwiki] 39/47: JSPWIKI-303: add back Context#getCommand()

This is an automated email from the ASF dual-hosted git repository.

juanpablo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git

commit 42aa81d5ed699b3c2c835e6fda9b7a698d85a096
Author: juanpablo <ju...@apache.org>
AuthorDate: Mon Mar 16 14:33:39 2020 +0100

    JSPWIKI-303: add back Context#getCommand()
---
 .../src/main/java/org/apache/wiki/api/core/Context.java    | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/jspwiki-api/src/main/java/org/apache/wiki/api/core/Context.java b/jspwiki-api/src/main/java/org/apache/wiki/api/core/Context.java
index 0b58a92..193b8b6 100644
--- a/jspwiki-api/src/main/java/org/apache/wiki/api/core/Context.java
+++ b/jspwiki-api/src/main/java/org/apache/wiki/api/core/Context.java
@@ -215,6 +215,13 @@ public interface Context extends Cloneable, Command {
     String getRedirectURL();
 
     /**
+     * Returns the Command associated with this Context.
+     *
+     * @return the command
+     */
+    Command getCommand();
+
+    /**
      *  Creates an URL for the given request context.
      *
      *  @param context e.g. WikiContext.EDIT
@@ -243,11 +250,4 @@ public interface Context extends Cloneable, Command {
     /** {@inheritDoc} */
     Context clone();
 
-    /**
-     * Returns the Command associated with this Context.
-     *
-     * @return the command
-     */
-    //Command getCommand();
-
 }