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 2019/12/20 18:20:29 UTC

[jspwiki] 07/10: get rid of final on method parameters, is not needed there

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 15196d69f5b4db20c6549154dcaf6e04f85277cc
Author: juanpablo <ju...@apache.org>
AuthorDate: Fri Dec 20 19:12:33 2019 +0100

    get rid of final on method parameters, is not needed there
---
 .../src/main/java/org/apache/wiki/VariableManager.java         | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/jspwiki-main/src/main/java/org/apache/wiki/VariableManager.java b/jspwiki-main/src/main/java/org/apache/wiki/VariableManager.java
index ba51fc5..dda06a6 100644
--- a/jspwiki-main/src/main/java/org/apache/wiki/VariableManager.java
+++ b/jspwiki-main/src/main/java/org/apache/wiki/VariableManager.java
@@ -44,7 +44,7 @@ public interface VariableManager {
      *  @throws IllegalArgumentException If the format is not valid (does not start with "{$", is zero length, etc.)
      *  @throws NoSuchVariableException If a variable is not known.
      */
-    String parseAndGetValue( final WikiContext context, final String link ) throws IllegalArgumentException, NoSuchVariableException;
+    String parseAndGetValue( WikiContext context, String link ) throws IllegalArgumentException, NoSuchVariableException;
 
     /**
      *  This method does in-place expansion of any variables.  However, the expansion is not done twice, that is,
@@ -56,7 +56,7 @@ public interface VariableManager {
      *  @param source  The source string.
      *  @return The source string with variables expanded.
      */
-    String expandVariables( final WikiContext context, final String source );
+    String expandVariables( WikiContext context, String source );
 
     /**
      *  Returns the value of a named variable.  See {@link #getValue(WikiContext, String)}. The only difference is that
@@ -67,7 +67,7 @@ public interface VariableManager {
      *  @param defValue A default value.
      *  @return The variable value, or if not found, the default value.
      */
-    String getValue( final WikiContext context, final String varName, final String defValue );
+    String getValue( WikiContext context, String varName, String defValue );
 
     /**
      *  Shortcut to getValue(). However, this method does not throw a NoSuchVariableException, but returns null
@@ -78,7 +78,7 @@ public interface VariableManager {
      *  @return Variable value, or null, if there is no such variable.
      *  @since 2.2 on WikiEngine, moved to VariableManager on 2.11.0
      */
-    String getVariable( final WikiContext context, final String name );
+    String getVariable( WikiContext context, String name );
 
     /**
      *  Returns a value of the named variable.  The resolving order is
@@ -104,6 +104,6 @@ public interface VariableManager {
      *  @throws IllegalArgumentException If the name is somehow broken.
      *  @throws NoSuchVariableException If a variable is not known.
      */
-    String getValue( final WikiContext context, final String varName ) throws IllegalArgumentException, NoSuchVariableException;
+    String getValue( WikiContext context, String varName ) throws IllegalArgumentException, NoSuchVariableException;
 
 }