myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject [myfaces] branch master updated: cosmetics
Date Tue, 11 Dec 2018 10:11:20 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 0331d0f  cosmetics
0331d0f is described below

commit 0331d0f8767318f588ff56a8779863d32cd702f8
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Tue Dec 11 11:11:05 2018 +0100

    cosmetics
---
 .../apache/myfaces/renderkit/html/base/HtmlFormRendererBase.java    | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/impl/src/main/java/org/apache/myfaces/renderkit/html/base/HtmlFormRendererBase.java
b/impl/src/main/java/org/apache/myfaces/renderkit/html/base/HtmlFormRendererBase.java
index e99bf78..cd9b946 100644
--- a/impl/src/main/java/org/apache/myfaces/renderkit/html/base/HtmlFormRendererBase.java
+++ b/impl/src/main/java/org/apache/myfaces/renderkit/html/base/HtmlFormRendererBase.java
@@ -82,11 +82,9 @@ public class HtmlFormRendererBase
         {
             writer.writeAttribute(HTML.ACCEPT_CHARSET_ATTR, acceptCharset, null);
         }
-        String encodedActionURL = facesContext.getExternalContext().encodeActionURL(actionURL);
         
-        writer.writeURIAttribute(HTML.ACTION_ATTR,
-                encodedActionURL,
-                null);
+        String encodedActionURL = facesContext.getExternalContext().encodeActionURL(actionURL);
+        writer.writeURIAttribute(HTML.ACTION_ATTR, encodedActionURL, null);
         
         if (htmlForm instanceof ClientBehaviorHolder)
         {


Mime
View raw message