You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2021/10/22 11:14:20 UTC

[myfaces-tobago] branch tobago-5.x updated: style: checkstyle

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

lofwyr pushed a commit to branch tobago-5.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/tobago-5.x by this push:
     new 8f4114b  style: checkstyle
8f4114b is described below

commit 8f4114bd638c88db30b0efa47101818c026f6351
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Fri Oct 22 13:13:28 2021 +0200

    style: checkstyle
---
 .../myfaces/tobago/internal/component/AbstractUIMessages.java       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIMessages.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIMessages.java
index c363060..b35cbdf 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIMessages.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIMessages.java
@@ -77,7 +77,7 @@ public abstract class AbstractUIMessages extends javax.faces.component.UIMessage
         final UIComponent component = clientId != null ? facesContext.getViewRoot().findComponent(clientId) : null;
         final String forId;
         if (component instanceof SupportFieldId) {
-          forId = ((SupportFieldId)component).getFieldId(facesContext);
+          forId = ((SupportFieldId) component).getFieldId(facesContext);
         } else {
           forId = clientId;
         }
@@ -117,8 +117,8 @@ public abstract class AbstractUIMessages extends javax.faces.component.UIMessage
      * @deprecated since Tobago 5.0.0. Please use {@link #setForId}
      */
     @Deprecated
-    public void setClientId(final String forId) {
-      this.forId = forId;
+    public void setClientId(final String clientId) {
+      this.forId = clientId;
     }
 
     public FacesMessage getFacesMessage() {